Witam,
Wyskakuje mi taki komunikat "Person cannot be resolved to a type" i nie bardzo rozumiem o co chodzi.
Czy ktoś może mi ten komunikat przełożyć z "polskiego na nasze"?
Jest to kod z Java Podstawy.
import java.util.*;
public class PersonTest {
public static void main(String[]args)
{
Person[]people = new Person[2];
people[0] =new Employee("Henryk Kania", 50000, 1999,10,1);
people[1] =new Student("Maria Mrozowska", "Studentka");
//Drukowanie imion i nazwisk dla wszystkich
for (Person p : people)
System.out.println(p.getName()+ " "+p.getDesciption());
}
}