• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with this piece of code?

 
pras
Ranch Hand
Posts: 188
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EccSelectionModel model = support.getSelectionModel();

what is the meaning of this?
i mean what is it doing if EccSelectionModel is a class?
 
Bob Ruth
Ranch Hand
Posts: 320
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
looks like you have an object of some kind, referred to as "support" and it has a method, "getSelectionModel()", you invoke it and you get back a ModelNumber object in your newly declared reference "model".
 
pras
Ranch Hand
Posts: 188
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bob
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic