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

Have you used threads in Servelet?

1928


Name the eight primitive java types.

592


Do we need to override service() method

1138


Do I need to import javlang package any time? Why ?

624


What is the difference between RMI registry and OS Agent?

628






What is Stream Tokenizer?

1726


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1777


Are we allowed to change the transaction isolation property in middle of a transaction?

561


What is local interface. How values will be passed?

548


How can I scroll through list of pages like the search results in google?

565


What is mdb and what is the special feature of that?

560


How to implement RMI in Java?

2399


How task's priority is used in scheduling?

1779


how to use debug in my elipse to solve problems that exist in my project

1760


Which component handles cluster communication in jboss?

618