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
What is TL and its use?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What is the difference between RMI registry and OS Agent?
What is scalable, portability in the view of J2EE?
What are transaction attributes?
What is aop(assepct oriented programing)?
Describe, in general, how java's garbage collector works?
Can I have an action without a form?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Write a singleton program?
What is a session? Can you share a session object between different theads?
Explain the advantages and disadvantages of detached objects.
how to use debug in my elipse to solve problems that exist in my project
Is infobus easy to use?
What is the relationship between the canvas class and the graphics class?