Crossfire JXClient, Trunk
DiamondInheritance.Pegasus Class Reference
+ Inheritance diagram for DiamondInheritance.Pegasus:
+ Collaboration diagram for DiamondInheritance.Pegasus:

Public Member Functions

String go ()
 
- Public Member Functions inherited from DiamondInheritance.Bird
default String fly ()
 

Detailed Description

Class to illustrate the diamond inheritance. Pegasus must mix horse and bird behavior.

See also
DiamondInheritance

Definition at line 122 of file DiamondInheritance.java.

Member Function Documentation

◆ go()

String DiamondInheritance.Pegasus.go ( )

Return string representation of the "go" action for the fictitious creature Pegasus

Returns
string representation of the "go" action for the fictitious creature Pegasus

Implements DiamondInheritance.Horse.

Definition at line 132 of file DiamondInheritance.java.

References DiamondInheritance.Horse.go().

+ Here is the call graph for this function:

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