Fill in The Blanks: Bidirectional Associations
Fill in The Blanks: Bidirectional Associations
6. In ..........multiple......... inheritance, one class is inherited from more than one class.
2. Which one of the following view express the requirements of the system?a
3. W build models so that we can better _ b______ the system we are developing.
Brief Question’s
1. What is a class? Make distinction between attributes and operations.
A class is a description of a set of objects that share the same properties and behavior.
perty may hold.A class may have any number of attributes or no attributes at all.A class
may have any number of attributes or no attributes at all.
An operation is the implementation of a service that can be requested from any object of
the class to affect behavior.A class may have any number of operations or none at all.
2. Describe the differences between the notations of class and object respectively.
Classes notation includes name, attributes and operations respectively, all objects
in a class share the same operations or methods class notation don’t need values for
attributes but object notation you need to write values.
3. Illustrate the concept of objects and classes with examples.
For example,the class is the student,it has attributes that age,sex,hobby and so on ,while
For example, n n
custom bread
A custom to n bread,while a bread to n customs.
FlyingThing Animal
For example, n n
custom bread
A custom to n bread,while a bread to n customs.
Class diagram consists of classes and their relationships,is a static diagram,represents the
static view of an application,describes the attributes and operations of a
class.Meanwhile,the class diagrams are widely used in the modeling of object oriented
systems because they are the only UML diagrams,which can be mapped directly with
object-oriented languages ,which is also known as a structural diagram.While an object is
an entity.Attributes or properties describe object’s state(data )and methods(propertied or
functions)define its behavior.It knows things (has attributes)and does things(provides
services or has methods)