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

how can u handle run time exception in java? explain with
brief explanation with examples?

Answer Posted / pavithra

Runtime exceptions represent problems that are detected by
the runtime system. This includes arithmetic exceptions
(such as when dividing by zero), pointer exceptions (such
as trying to access an object through a null reference),
and indexing exceptions (such as attempting to access an
array element through an index that is too large or too
small).

Runtime exceptions can occur anywhere in a program and in a
typical program can be very numerous. Typically, the cost
of checking for runtime exceptions exceeds the benefit of
catching or specifying them. Thus the compiler does not
require that you catch or specify runtime exceptions,
although you can.

Is This Answer Correct ?    5 Yes 8 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


What are basic keywords?

1037


What are the different types of data structures in java?

988


Can bool be null?

986


What is the difference between the paint() and repaint() methods in java programming?

1187


What is parse method?

1014


What is the difference between abstract classes and interfaces?

1023


Can we define a package statement after the import statement in java?

1066


Explain about class in java?

1104


Why does java not support pointers?

1100


What is final keyword in java? Give an example.

1016


What is the purpose of the strictfp keyword?

1161


What are the access modifiers in java?

1035


What do u mean by variable?

1049


can java object be locked down for exclusive use by a given thread? : Java thread

1098