what is difference between throw and throws in exception?
Answer Posted / pasupathi
throw is used to handle user defined Exception where as throws is used ti handle Predefined exceptions
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What access modifiers can be used for variables?
What is the use of protected in java?
What is the difference between multiple processes and multiple threads?
What are the two ways to create a thread?
Explain constructors and types of constructors in java.
What is the base class of all classes?
What are static methods?
What is a superclass?
Can a class have multiple subclasses?
What is cr keyboard?
What is hashset in java?
What is the difference between a static and a non-static inner class in java programming?
What is an 8 bit word?
What is a null point?
What state does a thread enter when it terminates its processing in java programming?