What is the need of "creating and throwing an
UserdefinedException" when the "Exception" class is already
available?

Answer Posted / guru

user defined exception is used throwing out(user) own
exception..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do we need to use internal iteration? When do we need to use external iteration?

615


What is the disadvantage of synchronization?

568


Is stringwriter thread safe?

557


What is hashmap and map?

563


Can you sort a list in java?

533






Define jit compiler?

671


What package is math in java?

539


What is a string what operation can be performed out with the help of a string?

517


What state is a thread in when it is executing?

535


Can you make a constructor final?

586


What is off heap memory?

553


What is the difference between method overriding and overloading?

586


Why singleton class is used in java?

577


How many tetrahedral voids are there in bcc?

549


Is a string literal?

529