types of exceptions
Answer / anonymous
2 Types of Exception
1) Checked Exception : All exception classes that come
under Hierarchy of Throwable except "Runtime Exception"
and "Error" are checked exception. Eg: IOException etc.
2) Unchecked Exception : All classes that come under
hierarchy of "Runtime Exception" and "Error" are unchecked
exception For Eg. : NullPointerException,
ArrayIndexOutOfBoundsException etc.
| Is This Answer Correct ? | 7 Yes | 1 No |
What is mdb and what is the special feature of that?
What is in-memory replication?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
What is a session? Can you share a session object between different theads?
What is the difference between the session.update() method and the session.lock() method?
When is the best time to validate input?
To what value is a variable of the string type automatically initialized?
Difference Between getRequest and PostRequest?
Write a program on RMI and JDBC using StoredProcedure?
what are design patterns in java?give with example?
Explain bind(), rebind(), unbind() and lookup() methods?
what are getters and setters in Java with examples?