I'm trying to learn Java, pretty easy so far as my previous experiance is with C/C++. I was just curious how to call java classes from different files. That way I don't have to have main as well as all of my classes crammed into one file. I'm sure the book that I am working out of will eventually tackle this issue. However, it is driving me crazy (can't stand my code to look crammed together and cluttered.) Thanks for the help.
Kind of worded that funny.
For example in C/C++ you could do #include "fileName I want to refer to"
I'm just asking for the java equivalent.
Edited 6 Years Ago by pinsickle: weird wording