An association represents a relationship between classes. It represents a mechanism that allows objects to communicate with each other. It describes the connection between different classes.
Association can be unidirectional or bi-directional.
A unidirectional association implies that an object of the class from which the arrow is originating, i.e., the class that has the no-arrowhead side of the association may invoke methods on the class towards which the arrow is pointing.
A bi-directional association means that either object in the association may invoke methods on the other.
- Best exam simulation CIW master-ciw-enterprise-developer download free trial.
- Best exam simulation SUN scbcd download free trial.
- Click here to get free scdjws SCDJWS exam practice questions.
- Become SUN SCJA certified.
- Get certified in first attempt download scjp - SCJP simulation.
- Download free practice test for scjp-5-0 SCJP 5/6 exam.
- Click here to download scmad test study guide and practice question.
- Download free practice test for scwcd SCWCD exam.
- Click here to download CX310-019 test study guide and practice question.
- Click here to get free CX310-055 Java 5.0 exam practice questions.
- Download free practice test for CX310-065 SCJP 6.0 exam.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
