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
To what value is a variable of the string type automatically initialized?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is threadfactory?
What is a policy?
What must a class do to implement an interface?
Can I use javascript to submit a form?
What is the difference between RMI and Corba?
Is a class a subclass of itself?
Explain ioc concept?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is the relationship between an event-listener interface and an event-adapter class?
What are the different algorithms used for clustering?
Do I have to use jsps with my application?
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
What is colon_pkg_prefixes and what is its use?