What is constructor

Answer Posted / venu

Constructor is a member function of a class..Which gets called whenever you create an object of that class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between char and char *?

563


Does the order of public and static declaration matter in main method?

614


What is substring 1 in java?

589


Are arrays static in java?

578


What are the 4 types of research methods?

508






What does you mean in math?

535


What are the different types of inheritance in java?

528


Can a class have multiple superclasses?

564


What classes of exceptions may be thrown by a throw statement?

524


Describe the various concepts related to object oriented programming (oop).

582


What is field name?

585


What is widening and narrowing in java? Discuss with an example.

554


What are invisible components?.

1675


What is jrmp?

544


Difference between stack and queue?

585