how to handle exceptions in core applications?

Answer Posted / tamilvanan

in core java, we can handle the exception by the following
key words
1.try
2.catch
3.finally
4.throws(it throws only predefined exception)
5.throw(it throw both predefined and userdefined exception)

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain enumeration in java?

559


Can a static member function access member variable of an object?

554


What are the supported platforms by java programming language?

561


What is ++ a in java?

565


What are the advantages of functions?

517






Write a method that will remove given character from the string?

567


What is java Applet?

643


What are the 2 types of java programs?

558


Is java free for commercial?

488


How do I enable java in safari?

542


What is meant by call by reference?

503


Can a private method be declared as static?

574


explain copyonwritearraylist and when do we use copyonwritearraylist?

534


When we serialize an object does the serialization mechanism saves its references too?

503


What is the difference between variable & constant?

536