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
can you explain me the er diagram for the online doctor system

Write a Java REST client to perform the following- The client will read the contents of the file - invoice.txt. The first line of the file will display the type of the currency.

What is Constructors? Explain with an example? A constructor forms a new instance of the class. It initializes all the variables and does any work essential to prepare the clas

Question A What are the difference between an interface and an abstract class? Question B Describe Exception Handling in JAVA Question C Describe the following with resp

How to convert string value to number in java? While processing user input it is frequent essential to convert a String in which the user enters into an int . The syntax is

Need Basic IDE with Plug-ins Project Description: I am seeking someone to create me a Basic IDE that is able to install custom created plug-ins using Java. What I need you

Write program to Passing Arguments to Methods ? It's generally considered bad form to access fields directly. Instead it is considered outstanding object oriented practice to

Question 3 Using this line: var posneg : array [1..15] of integer; Write a program that calculates the number of negative and positive numbers in the array. Users will

Question: (a) State and explain clearly FIVE new features of Actionscript 3.0 as compared to Actionscript 2.0. (b) Explain clearly the concept of events and events listen

In this exercise, I want you to generate password based on random number generator. Develop an application that keeps track of the URL, username and password. I have listed few st