Answer Posted / chandra sekhar dash
Exceptions are also one 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 Exceptions come under compile time
ArrayIndexOutofbounds and NullPointer these come under
runtime Exceptions
Errors are the problems which we cant hadle, like stack
overflow and memoryoutofbounds etc.,these generally comes at
compile time
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are arrays immutable in java?
What does @override mean?
What is console based application in java?
What is string data?
What is the major difference between linkedlist and arraylist?
Difference between process and thread?
How to display all the prime numbers between 1 and 100
Can a constructor call another constructor?
Why volatile is used in java?
Explain java coding standards for variables ?
What is parameters example?
Is an empty arraylist null?
How do you test a method for an exception using junit?
What are the various access specifiers for java classes?
What is passing by reference in java?