This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with this piece of code?

 
pras
Ranch Hand
Posts: 188
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic