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:
How can a subclass call a method or a constructor defined in a superclass?
How can a subclass call a method or a constructor defined in a superclass?
✍: Guest
Use the following syntax: super.myMethod(); To call a constructor of the superclass, just write super(); in the first line of the subclass's constructor.
2012-07-05, 2235👍, 0💬
Popular Posts:
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
How can method defined in multiple base classes with same name be invoked from derived class simulta...