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: Chione Massri   on Aug 04

It was not David that asked the question, it was me.

I can't make the test  static, as test must be part of A's instance.
The test method will need to access A's member fields and methods. I
know the sample just shows "return 1;" but in real life it would be
doing more stuff, like interact with A's other things.

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: