Declare two classes in one file java July 8, 2019 16 32 64 128 Уроки java с нуля / #1 Javascript ооп уроки Error class main is public should be declared in a file named main.java