• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple has-a question

 
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