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
A user interface control that outputs data to a client or permits a user to input data to a JavaServer Faces application.

Project Requirements Write and test a Java program to play Minesweeper using Model-View-Presenter design (The model is an interface defining the data to be displayed or other

Differentiation between a Vector and an array . Explain in Brief about the pros and cons of both?

what is the code for page replacement algorithms in nachos os

Please can you write some codes and their functions too. At least 10! Please

WHAT IS THE INTRODUCTION OF JAVA APPLET GAMES IN CONNECT4

how to write aprogramm that calculates gross pay, taxes, and net pay for both hourly and commission employees. It will then display those results to the screen

What are Logic- or Time-Bombs ? It execute the payload while predetermined event occurs. For instance use kind's particular phrase and particular data is reached.

Need Simple Desktop Software I am seeking a software that can do the subsequent: 1. Check position for a URL in Google, Yahoo, Bing. 2. Check position for a YouTube video

Write a short Java application that stores words in an Array or ArrayList. You get to pick the number of words to store. Generate a random number between 0 (inclusive) and the leng