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
what do you mean by classloader in java?
Explain the importance of finalize() method.
Can you call a method on a null object?
How do listeners work?
Why put method is idempotent?
What is stack example?
What is map in java?
What is an array in java?
What is the properties class?
Can we overload run() method in java?
What is final modifier?
Can an interface be defined inside a class?
Why do we need hashset in java?
Explain Basics of OOP Language in java
Can we use static class instead of singleton?