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 treeset in java collection?
Can we overload final method in java?
What is the file type?
What is difference between throw and throws ?
What is difference between local variable and global variable?
How hashmap works in java?
Does java have extension methods?
Is a case study a method or methodology?
Is java code slower than native code?
What are the kinds of polymorphism?
What is the static method?
Write a program to solve producer consumer problem in java?
Is binary a low level language?
How thread scheduler schedule the task?
Can we override final method?