• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on inner classes  RSS feed

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Do the private inner class need an explicit default constructor when we have an overloaded one defined?
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, no class, top-level or inner, needs a no-args constructor when there is one with arguments defined.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!