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 is the abstract class?
What is void class in java?
How to declare an arraylist in java?
What does exclamation mean in java?
What is singleton class in ruby?
What is a for loop in java?
Name and explain the types of ways which are used to pass arguments in any function in java.
What does file separator do in java?
Can we have any code between try and finally blocks?
What are the two types of java?
What are static initalizers in java ?
What is the lifetime and scope of a variable?
How will you serialize a singleton class without violating singleton pattern?
Describe different states of a thread.
What is the difference between a switch statement and an if statement?