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
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 ..
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??
How are commas used in the intialization and iteration parts of a for statement?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What are the pros and cons of detached objects?
What is jboss?
Why are my checkboxes not being set from on to off?
Difference between swing and awt?
What is a class loader? What are the different class loaders used by jvm?
Why do threads block on i/o?
What classes of exceptions may be caught by a catch clause?
How a component can be placed on Windows?
Java is fully object oriented languages or not?
What is the RMI and Socket?