Человек [] люди = в Java

System.out.println ("\nPolymorphism:");
Person[] persons = { new Person("Abu"), 
                     new Student ("Ben", 222), 
                     new Staff ("Carlo", 3000),
                     new Lecturer ("Donna", 5000, "TCP1101")
                    };
for (Person obj: persons)
   System.out.println (obj.toString());
Powerful Pigeon