inheritance-demo
Static Public Member Functions
ee_inheritance_et_al.aa_inheritance.Test Class Reference

List of all members.

Static Public Member Functions

static void main (String[] args)

Detailed Description

Definition at line 2 of file Test.java.


Member Function Documentation

static void ee_inheritance_et_al.aa_inheritance.Test.main ( String[]  args) [static]

Definition at line 3 of file Test.java.

References ee_inheritance_et_al.aa_inheritance.Person.getAge(), ee_inheritance_et_al.aa_inheritance.Adult.getEmployer(), ee_inheritance_et_al.aa_inheritance.Person.setAge(), and ee_inheritance_et_al.aa_inheritance.Adult.setEmployer().

                                               {

        Adult mueller = new Adult() ;
        mueller.setAge(30); 
        mueller.setEmployer("c&a") ;

        System.out.println( " age: " + mueller.getAge() 
                + " employer: " + mueller.getEmployer() ) ;
        
    }

Here is the call graph for this function:


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