wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes simple has-a question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "simple has-a question" Watch "simple has-a question" New topic

simple has-a question

Komal Arora
Ranch Hand

Joined: Sep 30, 2010
Posts: 91

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?

I agree. Here's the link: http://aspose.com/file-tools
subject: simple has-a question
Similar Threads
Has-a relationship
has-a relationship
Jar file statement (true or false)
has-a and static variables
Confused with a particular sentence in Kathry's and Bert's Book