How many types of exception can occur in a java program?



How many types of exception can occur in a java program?..

Answer / Gul Mohammad

In Java, there are two categories of exceptions: checked exceptions (such as IOException, SQLException) that must be handled by the code, and unchecked exceptions (such as RuntimeException and Error) which do not need to be caught.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many types of design patterns are there?

1 Answers  


What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?

4 Answers  


How to create a custom exception?

1 Answers  


What is the string function?

1 Answers  


Does java have a compiler?

1 Answers  


Which containers may have a MenuBar?

1 Answers  


What is meant by throwing an Exception?

4 Answers   Accenture,


What does += mean in java?

1 Answers  


Can a class inherit the constructors of its superclass?

9 Answers   iFlex, Wipro,


Can you run the product development on all operating systems ?

1 Answers  


What is immutable in java?

1 Answers  


Can we assign the reference to this variable?

1 Answers  


Categories