0
Java packages
All source files stored in one folder named Runners. A java file storing class InOutFunc there with package Runner; on the top It is compiled. A file with class Runners with import Runner.*; (tried import Runner.InOutFunc;) --- When I try to compile class Runners it doesnt find methods in class InOutFunc despite the fact that either classes are public, methods inside InOutFunc all static, it recognizes import sentence. --- Am I missing something?
2 Respuestas
+ 10
First question that comes to my mind: Are class names and file names identical?
0
They are. I will upload the copy of files here aa soon as I get to my PC.