what is difference between throw and throws in exception?
Answer Posted / prabakar
throw:
raised the exception which are occured as a method body.
Throws:
it's the communication bridge between calling function and called function.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the null?
What happens if a constructor is declared private?
What is a get method?
Which of the following is not an isolation level in the JDBC
Why main method is static in java?
How to compare strings in java?
What do you understand by casting in java language?
What is string in java? String is a data type?
Can you explain the private protected field modifier?
What is the basic concept of java?
What is contract between hashcode and equal method?
What is this keyword used for?
What is token in java?
What is byte [] in java?
What is gc()?