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

Differentiate between array list and vector in java.

639


What is return null in java?

514


What is difference between final and immutable?

562


What is difference between pointer and reference?

510


What is hash in java?

523






What is private public protected in java?

572


What is jit compiler ?

579


Can we override private constructor in java?

509


What is void class in java?

528


How do you add spaces in java?

516


Why hashmap is used in java?

549


What are heap memory and stack memory and what are memory tables.

514


How do you make a thread in java?

633


How will you print number in reverse (descending) order in BST.

583


Explain inheritance in java?

558