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
Which component handles cluster communication in jboss?
What is the purpose of the notifyall() method?
What is the map interface?
Explain RMI Architecture?
which book is better for jdbc ,servlets and jsp
What is threadfactory?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is the difference between system.out ,system.err and system.in?
What is the difference between the session.get() method and the session.load() method?
What is glasgow?
What is prototype?
Why does the tag url-encode javascript and mailto links?
What are the sequence of steps to write pub or sub model kind of application?
To what value is a variable of the string type automatically initialized?
How would you create a button with rounded edges?