File
Doc
Category
Size
Date
Package
InheritConstructor.java
API Doc
Example
452
Sat Nov 25 12:55:42 GMT 2000
None
InheritConstructor
java.lang.Object
SomeOtherClass
public class InheritConstructor extends SomeOtherClass
Show that if your class has no constructors, your superclass' constructors still get called.
Fields Summary
Constructors Summary
Methods Summary
public static void
main
(
java.lang.String[]
c)
new InheritConstructor().run();
public void
run
()
System.out.println("In InheritConstructor::run");
Java Code Source