aspose file tools*
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
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