Catch(Exception e){
}

in that what is Exception and purpose of that in that place
exactly?

Answer Posted / kabita

bcoz Exception is d base class of all exceptions arise in d
programme.if u write this no need to consider what type of
exception is arised in try block of d programme.,it will
handle all d exception.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is arraylist zero based?

559


What is the default value of byte datatype in java?

487


What is the size of arraylist in java?

608


Is hashset ordered?

551


What is the use of list in java?

524






How many bytes is a char in java?

531


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

556


What is matcher in java?

518


What does the “final” keyword mean in front of a variable? A method? A class?

546


What are the parts of a method?

538


what do you mean by java annotations?

550


Is zero a natural number?

568


Is integer immutable in java?

549


What is the definition of tree ?

589


Name few java util classes introduced with java 8 ?

507