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 / prakash
An Overridden method can throw lesser exceptions or no
exception and any new Runtime exceptions
An overridden method can't throw any new checked exception
or broader exceptions than its base class method.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How would you reatach detached objects to a session when the same object has already been loaded into the session?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Can I use javascript to submit a form?
Why does the option tag render selected=selected instead of just selected?
How task's priority is used in scheduling?
What do you know about seam?
What are various types of class loaders used by jvm?
What is TL and its use?
Which class is the immediate superclass of the menucomponent class?
What state does a thread enter when it terminates its processing?
What must a class do to implement an interface?
what is Activation Instantinator?
which type of objects reference will be given to client?
Explain how will the struts know which action class to call when you submit a form?
What is the difference between session and entity beans?