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
How transient variable is different from volatile variable?
What is an accessor?
Is break statement can be used as labels in java?
What is a private class in java?
How do you remove an object from an arraylist in java?
What do you mean by byte code?
What does percent mean in java?
What is the disadvantage of synchronization?
What is protected in java?
What are the characteristics of Final,Finally and Finalize keywords.
How do you use find and replace?
Can we have two methods in a class with the same name?
How java uses the string and stringbuffer classes?
What is a line break example?
What is the final method?