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
When parseint method can be used?
What is are packages?
What does it mean that a class or member is final?
What are the differences between this and super keyword?
What is serial version uid and its importance in java?
When to use runnable interface vs thread class in java?
How many functional interfaces does java 8 have?
What are the 4 types of characters?
Can we overload the methods by making them static?
Can we force garbage collector to run ?
Is null function in java?
Write a program to find the whether a number is an Armstrong number or not?
How many decimal digits is 64 bit?
What is externalizable interface?
What happens if constructor is private?