Can an exception be rethrown?

Answers were Sorted based on User's Feedback



Can an exception be rethrown?..

Answer / ashok

yes. Exception can be rethrown by using throw statement.

Is This Answer Correct ?    15 Yes 2 No

Can an exception be rethrown?..

Answer / sreenu

How can we rethrown the exception can any one explain with
example?

Is This Answer Correct ?    5 Yes 0 No

Can an exception be rethrown?..

Answer / devarathnam

yes

Is This Answer Correct ?    4 Yes 1 No

Can an exception be rethrown?..

Answer / ravikiran(aptech mumbai)

yes an exception can be rethrown by make use of throws
keyword,to it's calling method

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not????

12 Answers   Accenture,


Explain the private field modifier?

0 Answers  


Name four container classes.

0 Answers  


describe method overloading

0 Answers  


What is the use of anonymous inner classes ?

12 Answers   DELL, HCL,


What is variable and rules of variable?

0 Answers  


Is set ordered in java?

0 Answers  


Can we create an object of private class?

0 Answers  


How static variable work in java?

0 Answers  


What are the important features of Java 11 release?

0 Answers  


Explain when we should make an instance variable private.

0 Answers  


How do listeners work?

0 Answers  


Categories