In Intellij IDEA, the package is compiled successfully, but it does not start - and I do not see compiled .class files either (and the IDE does not find the main class PersonTest.class, because it simply does not exist!) Neither the specified path, nor the search disk. Here is the main class:
package abstractClasses; public class PersonTest { public static void main(String[] args) { Person[] people = new Person[2]; // fill the people array with Student and Employee objects people[0] = new Employee("Harry Hacker", 50000, 1989, 10, 1); people[1] = new Student("Maria Morris", "computer science"); // print out names and descriptions of all Person objects for (Person p : people) System.out.println(p.getName() + ", " + p.getDescription()); } }