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 char always 1 byte?
What is bubble sorting in java?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is a private class in java?
What is a static class in java?
Difference between vector and arraylist.
How is Object Oriented Programming different from Procedure Oriented Programming?
Can we declare a static variable inside a method?
Is main is a keyword?
Discuss different types of errors that generally occur while programming.
What is bigger kb or mb?
What are register variables what are the advantages?
Which number is denoted by leading zero in java?
What is difference between == equals () and compareto () method?
why would you use a synchronized block vs. Synchronized method? : Java thread