Answer Posted / shivaprasad
Exceptions are those which can be handled at the run time
where as errors cannot be handled.
Examples for exceptions: Array out of bonds, attempt to
divide by zero etc.
Exceptions can be handled by handlers using try - catch.
Is This Answer Correct ? | 279 Yes | 48 No |
Post New Answer View All Answers
What does string [] args mean?
How can we break singleton in java?
Where will it be used?
What is output buffer?
When can we say that threads are not lightweight process in java?
Which is better stringbuilder or stringbuffer?
What is instance synchronization?
Differentiate between postfix and prefix operators in java.
Can we restart a dead thread in java?
What are assembly attributes?
Can we pass null as argument in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Why string is not thread safe?
What is the use of StringTokenizer class?
What is public/private protected in java?