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 a Presistent Object?
How to find the largest value from the given array.
What is difference between word and integer?
What is array size in java?
What is method reference?
Tell me about your ability to work under pressure
Can you make a constructor final?
What is json parser in java?
What is the best definition for data?
Is java developer a good career?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Can we override the static method?
Is java util regex pattern thread safe?
Explain an algorithm to find depth of a binary tree.
How can a gui component handle its own events in java programming?