Answer Posted / suman blazta
Constructors are used to create and initialize objects of their class type.
Constructor is a special member function that takes the same name as the class name.The constructor is automatically named when an object is created. A constructor is named whenever an object is defined or dynamically allocated using the "new" operator.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the use of volatile in java?
What are the types of exceptions?
What is the java project architecture?
What are class types in java?
What is Java Reflection API? Why it’s so important to have?
Does windows 10 need java?
What is data type in computer?
Explain notifyall() method of object class ?
Difference between object and reference?
Can we initialize the final blank variable?
Is double bigger than float?
Why is java architectural neutral?
Where will it be used?
What is a default constructor and also define copy contrucyor?
Name some OOPS Concepts in Java?