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, 2239👍, 0💬
Popular Posts:
How does multi-threading take place on a computer with a single CPU? The operating system's task sch...
What does a special set of tags <?= and ?> do in a PHP script page? <?= express...
How can you implement MVC pattern in ASP.NET? The main purpose using MVC pattern is to decouple the ...
What will be printed as the result of the operation below: main() { char *ptr = " Cisco Systems"; *p...
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page...