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

Answer Posted / shridhar shelake

Errors are born during compile-time and which is detected
by programmer while Exceptions are born during Run-Time and
which is not detected by developer.

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between Heap and Stack Memory?

620


Difference between java and javascript

670


What is the java project architecture?

1865


What is difference between local variable and global variable?

564


Can a lock be acquired on a class in java programming?

627






I want to store more than 10 objects in a remote server? Which methodology will follow?

2733


What is the flag in java?

702


Does .length start 0 java?

667


How do you end a program?

655


How do you convert int to char in java?

673


Explain hashset and its features?

687


What are dot operator queries?

719


What do you mean by of string::valueof expression in java 8?

633


What type of variable is error flag?

702


What is the difference between overriding and overloading in OOPS.

660