Object-Oriented terminology

< UML/Alphabetical index

Introduction

 * A class is a concept that groups objects with similar characteristics So you can create a class dogs and cats or a class animals.




 * In the example below the objects or instances are of level 0.
 * The

University example
Here are some concepts you could distinguish at a university:
 * Course: Students can follow a course that is part of a study program.
 * Student: At a university you have a class called students. What distinguishes a student from other persons within or outside the university? On characteristic is that a student is registered for a study program. People that are not registered, will not belong to the class 'student'.
 * Study program: Another example is the concept of the study program. A university offers many study programs. The concept of study program refers to a collection of courses you can follow in order to obtain a degree. When we define the the class 'study program' want to understand the difference between a study program and a random collection of courses.