/**************************************************************************
 * The Employee class - without a constructor
 *************************************************************************/
public class Employee 
{
    static String companyName  =  "XYZ inc.";               //static fields
    static int    employeeCount;                            //belong to the class
    
    String position  = "";                                  //instance fields
    String lastname  = "";                                  //belong to each object
    String firstname = "";
    String sex       = "";
    int    age;

    public String toString()                                        
    {                                                               
        String data = "Company     "  + companyName +                              
                      "\t Position: " + position  +                 
                      "\t Name: "     + firstname +" "+ lastname + 
                      "\t Sex: "      + sex + 
                      "\t Age: "      + age;
        return (data);
    }
}