What is the superclass of exception?

Answer Posted / sheetal panchal

java.lang.throwable

Throwable is the superclass for all exceptions and errors.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is hashset ordered?

762


When should I use singleton pattern?

806


What are the types of casting?

813


What is meant by structural programming?

786


Do I need java on my pc?

729


Why should we use singleton pattern instead of static class?

710


What are different data structures in java?

721


What is the private method modifier?

805


What will happen when using pass by reference in java?

717


What happens when a thrown exception is not handled?

774


Is singleton a bad practice?

807


Why do we declare a class static?

748


Can we extend a class with private constructor?

723


How do you remove duplicates from an array in java?

713


Difference between default and protected access specifiers?

728