Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anonymous class

 
Hans-Li
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An instance of An Anonymous inner class can only be created in it outer class .(True/False)? Why?
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
False, Anonymouse classes are created in methods and these can for methods of inner classes or outer classes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic