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, 2318👍, 0💬
Popular Posts:
How To Analyze Tables with "mysqlcheck"? - MySQL FAQs - Administrator Tools for Managing MySQL Serve...
How to create a thread in a program? You have two ways to do so. First, making your class "extends" ...
Is There Any XSD File to Validate Atom Feed Files? - RSS FAQs - Atom Feed Introduction and File Gene...
What Articles Have You Read about JUnit? There are a number of JUnit articles that you should read: ...
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...