Answer Posted / gireesh
Exceptions are also kind of errors which we can hadle at
both compile time and run time by using try and catch
blocks.
These are two types: Compile time and runtime.
Sql and IO operations are come under compile time array
index out of bounds and null pointer these are come under
runtime exceptions
Errors are the problems which we cant hadle, like stack
overflow and memory out of bounds like that...
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is equals method in java?
Is it possible for yielded thread to get chance for its execution again ?
What is the purpose of skeleton and stub?
Explain about method local inner classes or local inner classes in java?
When throw keyword is used?
What is the static import?
What is xslt in java?
Why javac is not recognized?
What are the two ways to create a thread?
Can a class have a static inner class?
Explain importance of inheritance in java?
How do we access static members in java?
What is the significance of continue jump statement? Explain with an example.
Why do we use return statement?
What is the relationship difference the canvas class and the graphics class?