Advanced Java Question:
Download Questions PDF

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:

yes, you will be overriding to throw a different exception

Download Advanced Java Interview Questions And Answers PDF

Previous QuestionNext Question
How will the struts know which action class to call when you submit a form?Does Java pass arguments by value or reference?