Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is Overriding?
What is Overriding?
✍: Guest
When a class defines a method using the same name, return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass.
When the method is invoked for an object of the class, it is the new definition of the method that is called, and not the method definition from superclass. Methods may be overridden to be more public, not more private.
2013-05-10, 2306👍, 0💬
Popular Posts:
How to set a cookie with the contents of a textbox ? Values stored in cookies may not have semicolon...
When does the compiler not implicitly generate the address of the first element of an array? Wheneve...
How To Return Top 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If you want ...
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files ...
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C#...