I know this is probably simple, but I can't seem to figure out if it's possible to do this.
I have the following code:
public class A {
thisMethod();
public class B {
someMethod();
}
}
public class C {
A myA = new A();
A.B.someMethod();
}
Why can't I access B if I've already instantiated A?
THanks for your help in advance!