What is the difference between throw and throws?
Answer Posted / anjna garg
throw is always use in catch eeception and throws is not
use in catch exception
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Difference between java and javascript
What is the use of predicate in java 8?
What is the latest java version?
What is the default execution method in java?
why doesn't java run on all platforms?
What is the difference between java applets and applications?
What about instanceof operator in java?
How to overcome the exception object reference not set to an instance of object?
Define jre i.e. Java runtime environment?
What is set and get methods in java?
What is a generic data type?
What is meant by inheritance and what are its advantages?
Why string objects are immutable in java?
Is a class subclass of itself?
What is replacefirst in java?