Angus Comber wrote:Here is an example of how it works for me:
javac B.java
javac A.java
Then run:
java A
Works for me.
What code do you have and how are you compiling and running?
You said you have 3 classes, so where is the third one? These two are fine.