This content has been marked as final. Show 3 replies
Just make sure b.class is on the classpath.
Or did you mean b.java has not been written yet?
Create an interface that b.java must implement
and use a factory to return an instance of that interface (specifically an instance of b).
Thanks for your kind attention. I got the answer.