Monday, April 30, 2007

Java: super keyword

http://java.sun.com/docs/books/tutorial/java/IandI/super.html

Invocation of a superclass constructor must be the first line in the subclass constructor.

The syntax for calling a superclass constructor is

super();
--or--
super(parameter list);

Labels:

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home