Why are the destructors for base class and derived class
called in reverse order when the program exits


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is a condition in java?

0 Answers  


Name container classes in java programming?

0 Answers  


What is a boolean field?

0 Answers  


How do you check whether the list is empty or not in java?

0 Answers  


Where are global variables stored?

0 Answers  






Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,


What are the two ways of implementing multi-threading in java?

1 Answers  


What are the types of exceptions?

0 Answers  


How can a class be accessed, If no access modifiers are declared?

4 Answers  


Explain Big-O notation with an example

1 Answers  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


Why does java have two ways to create child threads?

0 Answers  


Categories