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

Is it possible to create Userdefined Unchecked Exception
also?If Yes, give an example?

Answer Posted / saf

You can create unchecked exception by inhereting
RuntimeException class. Spec does not say that we can't do
it but it is advisable to go for custom checked exception

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a container there are 5 components. I want to display all the component names, how will you do that?

2245


Which is better singleton or static class?

1024


How to stop a thread in java? Explain about sleep () method in a thread?

1065


Can we write class inside a class in java?

1029


What is boolean false?

1026


How to access arraylist elements in java?

1035


What is a blocking method in Java?

1314


What is yield () in java?

929


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

1153


What does system.gc() and runtime.gc() methods do?

1093


Describe how to implement singleton design pattern in struts.

1067


What is size of int in java?

1100


What is meant by anonymous class?

1088


What is the symbol for average?

1077


Explain listiterator and methods in listiterator?

1064