what is difference between throw and throws in exception?
Answer Posted / krishna
Throws is a keyword.This is used to say explicitly this
method has doughtful body,where as Throw is used to handle
the exception in next level or itself..............
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do heavy weight components mean in java programming?
What are the default and parameterized constructors?
What are the basic concepts of OOPS in java?
Explain the difference between runnable and callable interface in java?
Why collection is called framework in java?
Can a static block throw exception?
What is the difference between Java1.4 and Java1.5
Similarity and difference between static block and static method ?
How do you reverse a string in java without using string buffer?
Is java written in c?
What does n mean?
Can singleton class be cloned?
What languages are pass by reference?
Which class is the superclass for all the classes?
Is java call by value?