what is difference between Exception and Error?

Answer Posted / ajit kumar dubey

an event occur during execution time, is called exception
when ur program compile then that time event occur is
called error.

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you calculate roots in java?

516


What is the use of toarray () in java?

529


What is string in java is it a data type?

527


when you will synchronize a piece of your code? : Java thread

523


What is role of void keyword in declaring functions?

564






How many bits is a double?

522


Explain spliterator in java8?

593


Why is inheritance used in java?

595


Which methods are used during serialization and deserialization process?

542


What are the differences between heap and stack memory?

539


How many threads can java run?

550


What does a za z0 9 mean?

556


How java is similar to c?

580


What happens if we don’t define serial version uid?

560


How many types of parsers are there?

536