Hi all
I tried create following:
Person[] myPerson=new Person[3];
myPerson[0]=new Person();
myPerson[1]=new Employee();
myPerson[2]=new Manager();

but myPerson[1] have not methods and attributes of the Employee class
myPerson[2] have not also methods and attributes of the Manager class

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to