Crossfire JXClient, Trunk
List of all members
Inheritance.Duck Class Reference
Inheritance diagram for Inheritance.Duck:
Inheritance graph
Collaboration diagram for Inheritance.Duck:
Collaboration graph

Additional Inherited Members

- Public Member Functions inherited from Inheritance.Diveable
default String dive ()
 
default String swim ()
 

Detailed Description

This class is used for the illustration of rule 2. See the source code of the main method

     //"I can swim on the surface of the water." output is suspected here
     System.out.println(new Duck().swim());

Definition at line 125 of file Inheritance.java.


The documentation for this class was generated from the following file: