Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Naughty Objects

 
Keith Jones
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,

Just wondered if anyone here agrees that it is very naughty to have an object x of type X that has an instance of another object y of type Y inside it where that same Y y has the same X x inside itself too?
 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not think that it is an issue. That is a classic way of adding actionListeners
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Keith, please post such questions in one of our Java In General (Beginner, Intermediate, Advanced) forums in future. This forum is specifically for SCJD issues.
Thanks
 
Keith Jones
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Barry. Are you a moderator by the way?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic