what difference between throw and throws in exception
handling.
Answer Posted / archana
throws is to handle exception by the system itself
whereas throw used by the user to handled the exception
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the point of java?
What is io stream in java?
How does arraylist work in java?
What is a ternary operator in java? What is an interface?
Explain method local inner classes ?
What is return keyword in java?
What happens to a static var that is defined within a method of a class?
Can Exception handling we can handle multiple catch blocks?
How java enabled high performance?
Why heap memory is called heap?
How many bits is a string?
what do you mean by classloader?
Is there any limitation of using inheritance?
What are inbuilt functions?
What is the difference between dom and sax parser in java?