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
What is a variable analysis?
What is null object in java?
Can you inherit a constructor java?
Is jdk required on each machine to run a java program?
Which is the best approach for creating thread ?
How does predicate work in java?
Name few "optional" classes introduced with java 8 ?
How many tetrahedral voids are there in bcc?
What is meant by final class?
What is a lock or purpose of locks in java?
What is unmodifiable list in java?
What is the simpletimezone class in java programming?
What is autoboxing and unboxing?
How do you compare arrays in java?
What is a buffer in computer?