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 the benefit of subclass?
What is the benefit of subclass?
✍: Guest
Generally:
The sub class inherits all the public methods and the implementation.
The sub class inherits all the protected methods and their implementation.
The sub class inherits all the default(non-access modifier) methods and their implementation.
The sub class also inherits all the public, protected and default member variables from the super class.
The constructors are not part of this inheritance model.
2012-08-16, 2567👍, 0💬
Popular Posts:
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The he...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
What Is URI? URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and exten...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...
What would you use to compare two String variables - the operator == or the method equals()? You can...