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 is a wrapper method?
What is use of inner class in java?
What do you mean by exception handling in Java?
What is a variable in java?
What is a instance variable?
Is java call by reference?
What is the disadvantage of synchronization?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is unicode with example?
what are Hostile Applets?
What is java dot?
What's the purpose of using break in each case of switch statement?
What is java objectoutputstream?
Can we create an object of static class in java?
What do you mean by compiler?