what is difference between throw and throws in exception?
Answer Posted / ramya
throw - used to handle user-defined exception
throws -jvm(java virtual machine) going to take all exception
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a checked and an unchecked exception?
What is tree in java?
what is a green thread? : Java thread
Explain the private protected method modifier?
What is number data type in java?
What is a local class in java?
Write a program to print count of empty strings in java 8?
What are controls and their different types in awt?
Why does java doesnt suuport unsigned values?
What is substring in java?
What are different ways of object creation in java ?
What is the platform?
What is meant by oops concept in java?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is array class in java?