// // Illustrate Polymorphism // // PolyDemo2.java // // Goal: use two classes: Person and Stduent ... // public class PolyDemo2 { public static void OutWrite(Person aPerson) { System.out.println(aPerson); } public static void main(String[] args) { Person one = new Person("April Dell"); Student another = new Student("May Smith", 1234); OutWrite(one); OutWrite(another); } }