how to handle exceptions in core applications?

Answers were Sorted based on User's Feedback

how to handle exceptions in core applications?..

Answer / tamilvanan

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

Is This Answer Correct ?    9 Yes 0 No

how to handle exceptions in core applications?..

Answer / laxmi

In core applications we can handle the exceptions by using
try &catch blocks.

class excep
public static void main(String[] args)
catch(Exception e)


Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

where can we get jAVA project orientation traing in HYDERABD

0 Answers  

why abstract class does not have object creation

6 Answers   Value Labs,

Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types

4 Answers   TCS,

whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

0 Answers  

what is connection pooling with example?

3 Answers   Amdocs,

why HashTable not allow null key and value

2 Answers   Crimson Logic,

Where is the singleton class used?

0 Answers  

How to set the Heap size in Java ?

2 Answers   HCL,

What is the diff. b/w Interfaces & Abstract class?

6 Answers   Ericsson,

difference between arraylist and linkedlist otherthan performance

2 Answers   L&T,

whats the diff between jsp and servlets?

9 Answers   TCS, HCL,

Difference between Array and vector?

9 Answers