Question :What restrictions are placed on method overriding? (CoreJava)
Answer :Overridden methods must have the same name, argument list, and
return type.
The overriding method may not limit the access of the method it overrides.
The overriding method may not throw any exceptions that may not be
thrown by the overridden method.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Thursday, March 12, 2009
What restrictions are placed on method overriding? (CoreJava)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment