You are correct, I didn't bother compiling it. After all, it doesn't actually
do anything. I merely commented on what you had posted. (And I prefaced my
reply by saying I was more a C++ person than a java person.)
You didn't respond to my main point - i.e. the use of "a.test ()" which seemed
to me to be the best way to access A's test. Did this work?
I hold to my point about "a.super()" not being valid / relevant code. My
understanding is that this is a call to the default constructor of the
parent/super class of A, which is "java.lang.Object". While it is not wrong
syntax, I can't see what you hope to achieve by the call.
> I know it looks all pretty darn weird, but I wouldn't be asking if it
> was straight forward or obvious.
Unfortunately, nothing in your first message gave any indication that you had
any programming experience. Your use of meaningless class and method names and
your lack of any explanation of what requirement you were trying to address
certainly didn't give any impression that you were more than a beginner.
It looks weird because it is unusual. Notice the lack of responses from any of
the Java gurus on this list. Post the actual requirement and you'll probably be
inundated with help on the "real" way to do it.