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 does || || mean in math?
Is nullpointerexception checked or unchecked?
What is java in simple terms?
how to write a program for sending mails between client and server
Explain abstract class in java?
What is ctrl m character?
What is a nested structure?
What is thread synchronization in java?
What class allows you to read objects directly from a stream?
How to sort list of list in java?
Why is string builder not thread safe?
What is the loop in java?
Explain when classnotfoundexception will be raised ?
Why volatile is used in java?
Can we instantiate interface in java?