Java

OBJECT ORIENTED PROGRAMMING USING JAVA
OOPJ (2150704) Experiments List Solution As Per GTU
Experiments List
Java Experiments

UML Experiments
16. Categorize the following relationships into generalization, aggregation or association.
  • A country has a capital city
  • A dining philosopher uses a fork
  • A file is an ordinary file or a directory file
  • Files contains records
  • A polygon is composed of an ordered set of points
  • A drawing object is text, a geometrical object, or a group
  • A person uses a computer language on a object
  • Modems and keyboards are input/output devices
  • Classes may have several attributes
  • A person plays for a team in a certain year
  • A route connects two cities
  • A student takes a course from a professor

6 comments: