Modeling and object programming 1

  • ECTS

    5 credits

  • Component

    Faculty of Science

Description

This course introduces the basic principles of object-oriented modeling and programming. The supporting languages are UML and Java, with possible elements of Python at the end of the semester.

From a modeling point of view, this course focuses on static view modeling, using class and instance diagrams. These diagrams cover the notions of classes, instances, attributes, operations, associations, interfaces and specialization. Their parallel implementation in Java will give them a concrete application, and show in particular the translation of associations in a programming language that doesn't have them. In Java, particular emphasis will be placed on the notions of class, instance, inheritance, instance variable, class variable and method, visibility and package organization, and static and dynamic binding. Data collections widely used in Java will be presented to translate some of the associations (associative lists and dictionaries). These collections will introduce students to the use of generic classes. Implementation of object-oriented programming concepts with Python may be tackled at the end of the semester, depending on progress.

Read more

Objectives

The main aim of this course is to enable students to design and implement small object-oriented programs (on the order of fifteen classes). Students will need to master the UML class and instance models, and be able to implement them in the Java language.

Read more