In case of inheritance what is the execution order of constructor and destructor?
Answer / Keerti Pandey
In Java, constructors are called in the order of creation of objects (child class first, then parent class). Destructors do not exist in Java.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I convert a string to an int in java?
What is the use of default method in interface in java? Explain
Explain wait(), notify() and notifyall() methods of object class ?
What are the advantages of functions?
What is java and its types?
Brief the life cycle of an applet.
What for read() function?
List some important characteristics on jre
What are the two types of java?
What are implicit objects in java?
What does nextint () do in java?
What is the difference between Array and Hash Table?