What is the difference between error and exception and
explain in simple words not whatever is given in the book.

Answer Posted / uv

Errors are generally seen at compile-time WHEREAS
Exceptions are seen at run-time.

Is This Answer Correct ?    15 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between class#getinstance() and new operator ?

640


What is the syntax and characteristics of a lambda expression? Explain

537


Why constructor has no return type?

634


Explain the meaning of java applet.

598


Explain the private field modifier?

605






What is independent and dependent variables in research?

466


What is import java util arraylist?

650


How many bits is a word?

555


What is the difference between abstract class and interface1? What is an interface?

551


What is java lang string?

542


If system.exit (0); is written at the end of the try block, will the finally block still execute?

613


What is the difference between a loader and a compiler?

520


What is difference between word and integer?

588


How to sort array of 0 and 1 in java?

539


What are packages in java?

558