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

Can list contain null in java?

0 Answers  


How many threads can java run?

0 Answers  


Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


Can an interface extend another interface?

0 Answers  


How do you decide when to use arraylist and linkedlist?

0 Answers  






extending thread class or implementing runnable interface. Which is better? : Java thread

0 Answers  


How do you check if an arraylist is not empty?

0 Answers  


What is the method to declare member of a class static?

0 Answers   HCL,


How many types of variables are there?

0 Answers  


Memory management in JAVA

3 Answers   Tech Mahindra, Wipro,


What is a numeric literal?

0 Answers  


How to print a statement without using semicolan in java

6 Answers   HCL, IBM,


Categories