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
What is an object in java?
How do you control extraneous variables?
Is minecraft 1.15 out?
Write a method that will remove given character from the string?
Are arrays passed by reference in java?
What is the new line character?
What are synchronized blocks in java?
What is listnode in java?
What invokes a thread's run() method in java programming?
what do you mean by stream pipelining in java 8? Explain
What is try-with-resources in java?
What are the advantages of autoboxing?
Give example to differentiate between call by value and call by reference.
What is java objectoutputstream?
What is the purpose of a parameter?