CodePudding user response:
With the new constructed a constructor? This is not science,Create an instance of a class, using new will automatically call the corresponding constructor,
CodePudding user response:
Your teacher is also a cheat to eat cheat drinkCodePudding user response:
If you have a problem statement if you have a problem of teacher speak if it weren't for you listen to of have a problemCodePudding user response:
T * p=new T ();New instance objects that are used to create a class T, automatically calls the constructor of the class T