What's the base class of all exception classes?


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

Post New Answer

More Core Java Interview Questions

How is abstraction implemented in java ?

0 Answers  


What is string intern in java?

0 Answers  


Explain the difference between treeset and treemap in java?

0 Answers  


why java does not contain pointers?

13 Answers   Infosys, TCS,


What is the meaning of 3 dots in java?

0 Answers  






public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


What is the meaning of flag day?

0 Answers  


Can an interface have a constructor?

0 Answers  


What is ‘has a’’ relationship in java?

0 Answers  


Can we create an object of private class?

0 Answers  


why is multiple inheritance not allowed in java?

7 Answers   Elementus Technologies, Huawei, Infosys,


What is the technique adopted to create an immutable class?

0 Answers  


Categories