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 java jit compilers?
What is the meaning of immutable regarding string?
Explain a few methods of overloading best practices in java?
How can you generate random numbers in java?
Does java return by reference?
When will you define a method as static?
What are examples of modifiers?
How do you write a conditional statement?
What is module in project?
Is an empty arraylist null?
Can an interface extend another interface?
What is a bufferedreader?
How we can make copy of a java object?
What is the use of conditional statement?
What are keywords and reserved words in java?