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 boolean flag in java?
What is keyword and identifier?
How do you read and print a string in java?
Explain the importance of join() method in thread class?
Explain about arraylist?
What do you understand by copy constructor in java?
What is methods in java?
What is blank final variable?
How do you get length in java?
What is the return type of the main method?
Can an object subclass another object?
What is difference between ++ I and I ++ in java?
What is a instance variable in java?
What is a nullable field?
Which are the two subclasses under exception class?