What is the difference between throw and throws?
Answer Posted / rajanani
'throw' is declare the exception and throws is defined the
exception
Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
How do you sort data in java?
What is the purpose of the runtime class in java programming?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread
How use .contains in java?
What is keyword auto for?
What is the difference between jdk and jre?
Which methods are used during serialization and deserialization process?
Is 0 a real number?
Why is stringbuffer thread safe?
What will happen if static modifier is removed from the signature of the main method?
Do you know why doesn't the java library use a randomized version of quicksort?
How do you convert string to int in java?
Why object class is super class for every class in java?
How to perform selection sort in java?