Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between Exception and Error?

Answer Posted / md.tanweer alam

ERROR:-error may occur internaly in the program code through
the resources the program trying to access.
the source of error may be user input error such as giving a
wrong URL device erroe such as printer not ready physical
limitation such as disk full or memory not enough and code
error like arroay index out of bound trying to access an
empty stack and divide by zero error..
EXCEPTION:-all these above mention errors occuring in
abnormal condition called exception

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what state does a thread enter when it terminates its processing? : Java thread

1049


Explain what do you mean by functional overloading in java?

1020


What are the two parts of a conditional statement?

965


Why is multiple inheritance not supported in java?

1031


What is complexity in java?

1045


Can a class be private or protected in java?

1062


What is a final class ?

1181


Explain what is encapsulation?

1083


What is the purpose of final keyword and when to use it?

1004


Which is better ascii or unicode?

996


Can you override a final method?

1035


Can we catch more than one exception in a single catch block?

1079


What is a superclass?

1348


How can we create a thread in java?

1025


Why constructor has no return type?

1099