Yeah well, people get frustrated. I don't mind chipping in helping
beginners, but with no feedback or any thank you's, there wasn't much
to go on.
I thought things might move a little quicker than on usenet.
Wrote in and wrote assemblers, compilers, interpreters, 3D stuff,
truck loads of software for over 20 years.
Back to the problem, the code really works, except for the test()
call. I don't think you tried to compile the code provided, try it.
The way I solve it now, is by adding a test() method to B and calling
A.this.test() from there.
I know it looks all pretty darn weird, but I wouldn't be asking if it
was straight forward or obvious.