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...

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

Can a source file contain more than one class declaration?

912


Which is better stringbuffer or stringbuilder?

870


What is the Scope of Static Variable?

1162


Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)

1755


What are void methods?

979


Define max and min heap, also the search time of heap.

987


Can an interface be defined inside a class?

1004


What is the difference between form & report?

989


How do you check if a string is lexicographically in java?

902


Why spring singleton is not thread safe?

957


Can we start a thread twice in java?

909


Which class is the superclass of all classes?

1053


How is a structure different from array ?

992


What is the maximum length of a url?

887


Why we use methods in java?

939