What is meant by constructor?

Answer Posted / ajay yadav

Constructor is defined as a type of member function which
calls itself when an object is created also has the same
name as of the class.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java console application?

559


What are heap memory and stack memory and what are memory tables.

512


How does java pattern compile work?

548


What does flag mean in java?

544


Is null keyword in java?

527






How many bits is size_t?

542


What is array and arraylist in java?

533


Why does abstract class have constructor?

562


What is primitive data type in java?

543


Give an example of use of pointers in java class.

563


What is difference between == and === in js?

549


What's the difference between comparison done by equals method and == operator?

546


Why is a singleton bad?

558


How do you convert boolean to boolean?

525


What is JFC?

710