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
Can we override private method?
Explain the private field modifier?
What are java packages? What's the significance of packages?
What is the difference between Grid and Gridbaglayout?
What is the transient keyword?
What is ide with example?
How to invoke external process in java.
Is call by reference possible in java?
What is getclass () getname () in java?
What is the byte order of byte buffer?
What is mutable object and immutable object?
What languages are pass by reference?
Differece between class and generic class?
What is an 8 bit word?
Why runnable interface is used in java?