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 are memory considerations of jsp compares to other web components?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What are the different types of exception?
What’s jboss cache in short?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What are JTA/JTS and how they used by client?
What must a class do to implement an interface?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
what is Activation Instantinator?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
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 a menuitem and a checkboxmenuitem?
What is mdb and what is the special feature of that?
What classes of exceptions may be caught by a catch clause?
What is a class loader? What are the different class loaders used by jvm?