Answer Posted / gireesh
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 ? | 8 Yes | 1 No |
Post New Answer View All Answers
Is array synchronized in java?
Which is faster string or stringbuilder?
What is the difference between static (class) method and instance method?
What is a bubble sort in java?
How to find the given number is a prime number or not by getting input from the user
What are the different types of java?
What is the difference between class & object?
What is an immutable class?
How does the garbage collector works in java?
What is arrays sort in java?
who can i handle multiple client in RMI
What does @param args mean in java?
List out five keywords related to exception handling ?
What is the point of java?
describe method overloading