Difference between error and exception

Answer Posted / chitraraman

Error in java means the mistake done buy the programmer
logically or syntatically.
Exception is an error thrown by java impllctly like
IOException,Array out of bound Exception

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why charat is used in java?

797


What is better - 'bit-shift a value' or 'multiply by 2'?

920


What are wrapped classes in java programming?

813


Is singleton set an interval?

707


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1749


Explain hashset and its features?

810


What is passing by reference in java?

752


Can abstract class have private constructor?

703


Can we have a method name same as class name in java?

800


Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

804


What is replacefirst in java?

765


Which is the class in java?

719


What is a double?

813


What is unicode used for?

807


Give some features of interface?

789