Invoking a Constructor
Topics
Advertisements
CISCE: Class 10
Invoking a Constructor:
A constructor can be invoked at the time of creating an object of a class. The syntax of invoking a constructor is as shown below:
<class name> < object name> = new <constructor()>;
