Define class diagram , JAVA Programming

Class diagram technique is vital within Object Oriented functions. Class diagrams illustrate the kinds of objects in the system and the several static relationships among them. Class diagrams also define the methods and the attributes. Class diagrams have given possible relationships:

1. Association: A relationship between object instances of 2 classes.

2. Aggregation: An association in which one class refers to a collection. This is a part of a pure relationship where the phase may exist without the whole.

3. Composition: An association in which one class refers to a collection. This is a phase of a whole relationship where the part will not exist without the whole. If the whole is removed then the parts are deleted.

4. Generalization: An inheritance link indicating that one class is a parent class of the other. The Generalization expresses the "is a" relationship whereas the aggregation, association and composition describe the "has a" relationship.

5. Realization: defining of an interface.

6. Dependency: A dependency is a weak relationship where one class needs another class. The dependency refers the "uses" relationship.


Posted Date: 7/27/2012 5:00:18 AM | Location : United States

Related Discussions:- Define class diagram , Assignment Help, Ask Question on Define class diagram , Get Answer, Expert's Help, Define class diagram Discussions

Write discussion on Define class diagram
Your posts are moderated
Related Questions
What is required to be done from my programming is : I enter name,day(saturady or sunday),time( 10AM and 10PM) My program must then vaildate name,day and time. Name must only a

Opengts Geozone violation alerts Project Description: I am seeking a very reliable, articulate and an experienced Java and MySQL developer to customize the Device Communicati

Employee application Project Description: Subsequent Technology should be used 1) UI (jsp, jstl ,html, etc) 2) Framework (Spring MVC and hibernate) 3) Database (MYSQ

We have to create a world class that contains a 2d array then create an abstract class called organism that contains move() method the organism should move randomly one step at the

The Spring container is able to autowire relationships among collaborating beans. This means that it is possible to automatically let Spring resolve collaborators (other beans) for

This assignment is about experimenting with the Java runtime system's garbage collection model, and comparing it with the C++ manual memory allocation model. Below is the Garbage J

Explain unicode in java? Java uses the Unicode character set. It is a two-byte character code set which has characters representing almost overall characters in almost all huma

i m working on an accounting software and need the java code for preparing trial balance report

If we have 2 tables like bankcustomer(cid,cname,addr,acc_type) and customeraccount(cid,amount). How to Deposit amount into the given customer account.?

An object that having the data being transferred among JMS clients.