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
How does finally block differ from finalize() method?
How do you bind variables?
What is the char data type?
Why doesn't the java library use a randomized version of quicksort?
What is meant by data hiding/encapsulation?
Why synchronization is important in java?
What is covariant return type?
In java, how many ways you can take input from the console?
Can a constructor be made final?
What is unicode full form?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
What are the object and class classes used for?
What is the basic difference between string and stringbuffer object?
How do you remove an element from an arraylist in java?
Tell us something about different types of casting?