Код: Выделить всё
import oopinterface.Person;
Можно ли каким-нибудь образом скомпилировать основную программу, чтобы она распознавала файлы классов, которые очень четко там находятся! ? Я использую Windows, но было бы полезно, если бы у меня был «другой» способ для Linux?
Это ошибка компилятора:
Код: Выделить всё
C:\Users\Liloka\Source\oopinterface>javac ContainerInterface.java
ContainerInterface.java:41: cannot find symbol
symbol : class Store
location: class oopinterface.ContainerInterface
Store myList = new Store();
//Instance of Store
^
ContainerInterface.java:688: cannot find symbol
symbol : class Person
location: class oopinterface.ContainerInterface
public Person getSupervisor()
^
Подробнее здесь: https://stackoverflow.com/questions/831 ... ct-classes
Мобильная версия