different between exception and error? explaim check and
uncheck exception

Answer Posted / malligontla

Exception is caused due to programmer mistake where as error
is because of the jvm failure. Checked exception user should
handle the exception to ensure the smooth flow of the
program without any break IOException, unchecked exception
is the user might or might not handle the exception example
is Arithmetic exception

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What lambda means?

535


Can you declare a private method as static?

686


Is space a string in java?

506


how to open and edit XML file in Weblogic???

1541


What are the three parts of a lambda expression? What is the type of lambda expression?

561






What is the parse method in java?

556


What are the string methods in java?

577


Why does java not allow multiple public classes in a java file ?

3425


List the different types of classloaders in java.

498


What is the synchronized method modifier?

582


Can a singleton class be inherited?

516


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1578


What is immutable class in java?

506


Why string is not a wrapper class?

637


What is the implementation of destroy method in java. Is it native or java code?

471