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:
Can a private method of a superclass be declared within a subclass?
Can a private method of a superclass be declared within a subclass?
✍: Guest
Sure. A private field or method or inner class belongs to its declared class and hides from its subclasses. There is no way for private stuff to have a runtime overloading or overriding (polymorphism) features.
2012-08-31, 2330👍, 0💬
Popular Posts:
When should the register modifier be used? Does it really help? The register modifier hints to the c...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
How can a servlet refresh automatically if some new data has entered the database? You can use a cli...
How To Run a JUnit Test Class? A JUnit test class usually contains a number of test methods. You can...
How do I install JUnit? First I will download the lastest version of JUnit. Then I will extract all ...