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

What is return keyword in java?

1001


What does the “static” keyword mean?

1043


How is it possible for two string objects with identical values not to be equal under the == operator?

921


What is a line break?

971


What is the byte range?

978


What is the synonym of procedure?

1008


What is a class object?

911


What is the difference between logical data independence and physical data independence?

979


What is the importance of finally block in exception handling?

951


Explain importance of finally block in java?

977


How does a for loop work?

939


Is null a string?

940


What are the differences between throw and throws?

1026


How do you achieve polymorphism in java?

928


Explain what is encapsulation?

1010