what is difference between throw and throws in exception?
Answer Posted / prasanna
throw - It is used to throw an Exception.
throws - This is used to specifies that the method can
throw Exception
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do you sort in java?
What is ascii code?
What do you mean by an object in java?
Is null an object in java?
Which class should you use to obtain design information about an object in java programming?
Explain the significance of class loaders in bootstrap?
What is a stack class in java ?
What is difference between local variable and global variable?
What is port number in java?
How are the elements of a gridbaglayout organized in java programming?
What is methodological framework?
What is preflight request?
How many decimal digits is 64 bit?
What is an arraylist in java?
What methods are used in Servlet?Applet communication?