how can u handle runtime exceptions in java plz explain
with examples briefly?

Answer Posted / manish

You can catch compile time Exception,with using try and
catch or throws keyword,Buti think if u r going to catch
Runtime Exception then no,meaning bcoz Runtime Exception are
unchecked
exception.Means no meaning of try and catch but u can use.

Is This Answer Correct ?    15 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of java swing over angular?

655


How is multi-threading gets implemented using swing?

710


What is the function of lightweight components used in swing?

752


What is an event handler in swing?

815


What are the containers available in swing?

716


What is java swing package?

675


What is difference between applet and swing?

726


What is frame in java swing?

728


Why swing components are called lightweight components?

682


Why are swings considered lightweight?

739


What is the purpose of serialization in swings?

723


Why swings are called lightweight components?

691


Explain the difference between awt and swt.

744


what are the steps required in creating an empty table drop?

767


Explain the difference between jfc & wfc.

760