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
Why can't we override private static methods?
What is a boolean output?
Why main function is static?
Write a program to print count of empty strings in java 8?
What are anonymous inner classes?
What is the major advantage of external iteration over internal iteration?
What sorting algorithm does javascript use?
What is the difference between compiler and jvm?
What does string [] args mean?
How to sort double array in java?
What is final method in java?
What occurs when an object is constructed?
Can we write a class without main method in java?
What is the difference between processes and threads?
Can classes declared using the abstract keyword cab be instantiated?