inheritance-demo
Public Member Functions | Package Functions
ee_inheritance_et_al.aa_inheritance.Adult Class Reference
Inheritance diagram for ee_inheritance_et_al.aa_inheritance.Adult:
Inheritance graph
[legend]
Collaboration diagram for ee_inheritance_et_al.aa_inheritance.Adult:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String getEmployer ()
void setEmployer (String employer)

Package Functions

void aMethod ()
double getAge ()
void setAge (int age)

Detailed Description

Definition at line 2 of file Adult.java.


Member Function Documentation

String ee_inheritance_et_al.aa_inheritance.Adult.getEmployer ( )

Definition at line 6 of file Adult.java.

Referenced by ee_inheritance_et_al.aa_inheritance.Test.main().

{ return this.employer ; }
void ee_inheritance_et_al.aa_inheritance.Adult.setEmployer ( String  employer)

Definition at line 8 of file Adult.java.

Referenced by ee_inheritance_et_al.aa_inheritance.Test.main().

                                               { 
        this.employer = employer ;
    }
void ee_inheritance_et_al.aa_inheritance.Adult.aMethod ( ) [package]

Definition at line 12 of file Adult.java.

References ee_inheritance_et_al.aa_inheritance.Person.getAge().

                   {
        System.out.println( this.getAge() ) ;
    }

Here is the call graph for this function:

double ee_inheritance_et_al.aa_inheritance.Person.getAge ( ) [package, inherited]
void ee_inheritance_et_al.aa_inheritance.Person.setAge ( int  age) [package, inherited]

Definition at line 11 of file Person.java.

Referenced by ee_inheritance_et_al.aa_inheritance.Test.main().

                           { 
        this.age = age ;
    }

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