This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regard on k&b book
 
Similar Threads
K&B Master Exam OO Concepts Question
inheritance and interfaces
K&B question
has-a and static variables
Pls explain this OO question