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
Is java util list serializable?
What is the primary benefit of encapsulation?
What is keyword and identifier?
What is double data type?
Explain purpose of sleep() method in java?
Can we sort list in java?
what is the significance of listiterator in java?
What are measurable parameters?
What is difference between fileinputstream and filereader in java?
What is the numeric promotion?
Which variables are stored in stack?
What is java util function?
What is java life cycle?
How do you start a new line in java?
What is the importance of main method in Java?