Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Karina K patni   on Aug 04 In Java Category.

  
Question Answered By: Francis Riley   on Aug 04

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.

Share: 

 

This Question has 18 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Inner class inherit question Or get search suggestion and latest updates.


Tagged: