what is difference between throw and throws in exception?
Answer Posted / velayutham
throw- means user defined exception. we want throw manually
throw the exception.
throws- means jvm going to take all exception.
Is This Answer Correct ? | 33 Yes | 10 No |
Post New Answer View All Answers
Why for each loop is used?
What is xslt in java?
How do you access command-line arguments within the code?
What is an object’s lock and which object’s have locks?
Do you know how to reverse string in java?
What should I import for arraylist in java?
What is the difference between the size and capacity of a vector?
What is hashmap and map?
What is pass by value?
Is alive method in java?
Explain java coding standards for interfaces?
Explain about member inner classes?
What is an object's lock and which object's have locks in java programming?
Where is the find and replace?
What are the parts of a method?