+2 votes
in Computer by kratos

Write two characteristics of a constructor.

1 Answer

+6 votes
by kratos
 
Best answer

i. Constructor has the same name as that of the class it belongs to.

ii. Constructor is **** automatically when an object of class is created.

...