Andy James wrote:can class B define variables of class A as local variable to implement HAS-A relationship?
Cay Horstmann calls this relationship as *uses* relationship(Dependency) , and
he claimed that Aggregation is a stronger form of this uses relationships, since aggregation has another object as instance variable.
and also he mentioned uses relationship denoted as -----> in UML diagram . (for more details read BIG JAVA
(3rd edition) - chapter:Object-Oriented Design, page-540)
hence, shall we call it as *weak* HAS-A? :-)