SCJP, SCJD, SCWCD, SCBCD, SCEA, IBM Certified Enterprise Developer, WebSphere Studio V5.0
If I am rich, I will spend more.<p>IBM 486 (OOAD & UML) & 141 (XML) passed<br />Oracle 1Z0-007 passed<br />MCSD MCDBA MCSE <br />SCJP SCSSA<br />CCNA CNA A+
Originally posted by cj jack:
An association represents a permanent relationship which will exist during the whole life of the object.
Regards,
Pho
Thanks,<br />Kuppuram
Originally posted by Edy Yu:
I'm always confused by those two relationships.
Could some one explain the difference between them? It will be great if you can explain it from Java perspective.
By the way, one of my confusion is:
class A {
public void methodA() {
B b = new B();
b.methodB;
}
}
class B {
public void methodB() {
}
}
What's the relationship between class A and class B and why?
[ March 27, 2002: Message edited by: Edy Yu ]
Originally posted by Edy Yu:
I'm always confused by those two relationships.
Could some one explain the difference between them? It will be great if you can explain it from Java perspective.
Originally posted by Edy Yu:
I'm always confused by those two relationships.
By the way, one of my confusion is:
class A {
public void methodA() {
B b = new B();
b.methodB;
}
}
class B {
public void methodB() {
}
}
What's the relationship between class A and class B and why?
[ March 27, 2002: Message edited by: Edy Yu ]
---<br />Uncle Bob.
Those are the largest trousers in the world! Especially when next to this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|