what is difference between throw and throws in exception?
Answer Posted / krishna
Throws is a keyword.This is used to say explicitly this
method has doughtful body,where as Throw is used to handle
the exception in next level or itself..............
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What method is used to specify a container's layout in java programming?
What are the difference between composition and inheritance in java?
How do you find the independent variable?
What is mnemonic code?
Explain the difference between abstraction and encapsulation.
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Why we cannot override static method?
What is difference between variable declaration and definition?
Why is the type for real numbers called double?
How to create a fecelet view?
What are the advantages of unicode?
Difference between operator overloading and function overloading
Differentiate between static and non-static methods in java.
What is the difference between preemptive scheduling and time slicing in java programming?
Why is boolean important?