This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes regard on k&b book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "regard on k&b book" Watch "regard on k&b book" New topic
Author

regard on k&b book

ming ming
Ranch Hand

Joined: May 17, 2006
Posts: 54
on the self test question 1.. how come the answer is B.
it say that has a relationship always rely on instance variable...i taught it should be it always rely on reference variable?
ming ming
Ranch Hand

Joined: May 17, 2006
Posts: 54
i mean chapter 2 question 1
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
class A {
}

class B {
A a;
}
ming ming
Ranch Hand

Joined: May 17, 2006
Posts: 54
is that a reference variable or instance variable??
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
4.12.3 Kinds of Variables.
 
jQuery in Action, 2nd edition
 
subject: regard on k&b book
 
Similar Threads
Pls explain this OO question
K&B question
has-a and static variables
inheritance and interfaces
K&B Master Exam OO Concepts Question