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 internal implementation of set in java?
Can a class have multiple constructors?
Why string is immutable with example?
What does singleton class mean?
Can a boolean be null java?
What is final method in java?
What is a qms manual?
What programs use java?
What is a method in programming?
What is tree node in java?
Explain java thread life cycle.
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Is java hard to learn?
How do you sing an Applet ?
What are the escape sequences in java?