MENU
Question -

Write four characteristics of constructor function used in a class.  



Answer -

(i) A constructor function has no return type.
(ii) Name of constructor is same as that of class.
(iii) A constructor can be called while creating objects.
(iv) If there is no constructor declared in class then default constructor is invoked. 

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×