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
What are the advantages and disadvantages of reference counting in garbage collection?
How do you clear a method in java?
How many digits can a float hold?
define the terminology association.
Why does java not support operator overloading?
What is object data type?
How can you add and remove nodes in jtree?
What is java english?
How do you test a method for an exception using junit?
How to solve the problem of generating the unique hash keys with hash function?
What is the main function in java?
What is main difference between variable and constant?
How to sort a collection of custom Objects in Java?
What is static and final keyword in java?
When we serialize an object does the serialization mechanism saves its references too?