Will it be called overriding if I do not change the
parameters or return type, instead throw a different
exception in the method signature.

Answer Posted / surendra

the overriding method can throw narrow exceptions than overridden exception

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is in-memory replication?

567


Difference between hashmap and hashtable?

616


Which javutil classes and interfaces support event handling?

592


Have you used threads in Servelet?

1940


When a thread blocks on i/o, what state does it enter?

580






Explain how will the struts know which action class to call when you submit a form?

529


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

556


What is abstract schema?

561


For which statements does it make sense to use a label?

595


What is the difference between the session.get() method and the session.load() method?

610


Is there a guarantee of uniqueness for entity beans?

577


How would you detect a keypress in a jcombobox?

682


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2270


Where can I ask questions and make suggestions about seam?

605


What are the benefits of detached objects?

595