Answer Posted / pranab garai
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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
Is string is a data type in java?
What is try-with-resources in java?
What is the reflection?
What is jit and its use?
Can java object be locked down for exclusive use by a given thread?
What is dynamic array in java?
How to obtain a performance profile of java program
What is a parameter in a function?
What is bytecode verifier?
Similarity and difference between static block and static method ?
I want to persist data of objects for later use. What’s the best approach to do so?
How do you reverse sort a list in java?
Tell some latest versions in JAVA related areas?
What's the difference between int and integer in java?
What is a final class in java?