Excuse the stupidity (I have a feeling I'll be saying that in this forum a fair bit) but:

If classes foo and bar in files foo.java and bar.java exist, and the main method is in foo.java in the foo.class, how can I call a method in bar?

I can call myBar = new bar from the main method in foo to create a new instance of a class, but for syntax clarity I'd like to move some of the methods from my ever growing program into other files. I just get cannot resolve symbol.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org