Ok let's say I am writing a
JAva Application.
I have 2 classes:
1. Class A
2. Class B
Class A contains main() and inside main I instantiate Class B. ClassB cb = new ClassB();
Now let's say that I am ready to compile my code. Is there a way that you can force the compiler to check for dependencies and compile those classes first instead of compiling each class individually? That way I can Compile Class A which will force Class B to get compiled first?
Hope that makes sense.