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: Wilbur Hall   on Aug 04

However, declaring the method as static is almost certainly not what is
required. The original example is too simplistic, as it produces a result which
does not use anything from the class  instance itself and would work perfectly
well as a static. The real requirement presumably needs information from the
class instance and therefore cannot be static.

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: