• Post Reply Bookmark Topic Watch Topic
  • New Topic

initialization in anonymous class  RSS feed

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,I need to initialize some variables of super class from my anonymous class,can I put a static code region or call super(..) in the body of my anonymous class,if not ,how to do this?
 
Sheriff
Posts: 21137
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The putValue call is inside a so-called initializer block.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!