This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

simple has-a question  RSS feed

 
Komal Arora
Ranch Hand
Posts: 91
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


in the master-exam-B of K&S book

"Has-A relationships are always defined with instance variables"
statement is given as false because static instances can also define has-a relationships.


in the master-exam-C of K&S book

"Has-A relationships always rely on instance variables"

statement is given true

aren't both the statements the SAME?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!