#include using namespace std ; class Demo { public: int x1 ; int x2 ; Demo(int x1P, int x2P) { x1 = x1P ; x2 = x2P ; cout << "Inside the construtor method." << endl ; } }; int main() { Demo demo1Obj( 4 , 6 ) ; }