Search:

Type: Posts; User: pbrockway2

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,350

    Re: Help with Anonymous Inner class

    Just a nitpick, but you want some *subclass* of' Dog to be an anonymous class. I just want to emphasise the point that anonymous classes have no name, so you can never (reasonably) say "I want...
  2. Replies
    3
    Views
    1,350

    Re: Help with Anonymous Inner class

    You can't.

    There is nothing to stop an anonymous class extending a "normal" class - like your anonymous class extends Dog - and the anonymous can create some more methods. But, to call those...
Results 1 to 2 of 2