Compiling Related java files
If I have to classes that reference each other, how would I get them both to compile?
I have ProgramA.java that belongs to package com.neopost.projectA and has a Protected Object reference to com.neopost.projectA.ProgramB.
Inside ProgramB.java that belongs to package com.neopost.projectA, there is a Private Object reference to com.neopost.projectA.ProgramA.
When I try to compile ProgramA.java I get "ProgramB.class not found" or "Symbol not recognized" errors, because ProgramB.class does not exist yet. So I try to compile ProgramB.java, and I get "ProgramA.class not found" or the same Symbol not recognized error.
How do I get these programs compiled?