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 do you compare two strings lexicographically?
explain multi-threading in java?
What is a nonetype?
When throw keyword is used?
What is string data?
What do you mean by checked exceptions?
What is the static variable?
What is the importance of static variable?
When should I use a singleton?
What are the limitations of procedural programming approach?
What are exceptions
Can we use static class instead of singleton?
If you do not want your class to be inherited by any other class. What would you do?
How to run a JAR file through command prompt?
What is a data structure java?