Q. What is the difference between throw and throws?

थ्रो और थ्रो में क्या अंतर है?

A
throw is used to handle an exception
B
throws is used to define a checked exception
C
Both do the same thing
D
throws is used for runtime exceptions

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment