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

Can you call a method on a null object?

1011


How to sort an array in java without using sort method?

875


Is java an ide?

980


How hashset works internally in java?

1093


How do I get a substring?

976


Name some classes present in java.util.regex package.

1031


Is java platform independent?

974


Is java still necessary?

1069


What exactly is a .class file?

1044


Explain java coding standards for variables ?

1170


What is are packages?

1033


What are the main differences between notify and notifyAll in Java?

1094


Can a method inside a interface be declared as final?

1005


How do you make an arraylist empty in java?

925


What is the difference between length and length () in java?

945