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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / balaji

We can't create Uncecked Exceptions

Is This Answer Correct ?    5 Yes 14 No

Post New Answer

More Core Java Interview Questions

What is lambda programming?

0 Answers  


when everything can be done by static block then why do we use main method?.

2 Answers  


What is the ResourceBundle?

2 Answers   Elementus Technologies,


Which is better stringbuffer or stringbuilder?

0 Answers  


What is unmodifiable collection in java?

0 Answers  


why we import both packages java.awt.*; and java.awt.event.*; as java.awt.*; can import all classes na. then what is the need of importing java.awt.event.*; ?

3 Answers  


Explain access modifiers in java.

0 Answers  


Explain the difference between an Interface and an Abstract class?

0 Answers   BirlaSoft,


Can static methods be inherited?

0 Answers  


What is the difference between yielding and sleeping in java programming?

0 Answers  


How arrays are stored in memory in java?

0 Answers  


What are null interfaces in JAVA ? and give me some examples?

5 Answers  


Categories