Image

Yeah, I'm dumb, I know...

Ok I have a total newbie question. I can't seem to find the right keywords to search for in Google...

I've been programming in java for years now, but I've always taken the slacker sloppy way out and put all of my classes into the same file. So compilation was very easy, just ... compile the file.

But now I'm working on a project. I have my class in my very own file. Partner A is writing his class in another file. Partner B is writing the driver. We will put them all together at the end and voila!

However, I would like to be able to test my class. So I made my own little Driver class (in its own file of course). But it cannot find my class. How do I tell it where it is?

import MyClass.java; <- does not seem to work. Anyone?

EDIT: Ok, nevermind, found a helpful site that said I just need to do javac *.java instead of just doing the driver and expecting it to work. See? Dumb. Thanks anyway.