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
Is a boolean 1 bit?
What is a variable and constant?
how many types of Inheritance?
Is string a data type in java?
What is difference between throw and throws ?
What are namespaces in java?
How are observer and observable used in java programming?
Can we create a class inside a class in java?
What is java argument list?
Difference between abstract and concrete class ?
How to perform merge sort in java?
Explain some best practices you would apply while using collection in java?
What is the most important feature of java? What is an interface?
What is a line break example?
Can we have multiple public classes in a java source file?