Skip to content

Semester 5 · AI · MI · CPGE · ENSA · EST · FSR · FST

Object-Oriented Programming with Java

Learn OOP with Java: classes, objects, constructors, encapsulation, inheritance, polymorphism, interfaces and generics, with solved exercises and lab sessions.

About this course

This course teaches you to think and code in objects with Java. Every concept is explained with simple examples, then applied in exercise sessions (TD) and lab sessions (TP) close to real projects. What you'll learn: • Introduction to Java and object-oriented programming • Creating a class and objects • Input and output: Scanner and printf • Constructors • Encapsulation • Inheritance and polymorphism • Interfaces • Generics Practice: • Exercise sessions: polynomials with rational coefficients, bank accounts (Account and Branch)… • Lab sessions: food products and stock management, employees and a registry with LinkedList… 16 videos · Solved lessons, exercises and labs

Before you start

No Java experience needed, but knowing programming basics (variables, conditions, loops, functions) helps a lot. Get ready: • The JDK (version 17 or later) • An editor: IntelliJ IDEA Community, Eclipse, or VS Code with the Java extension Tip: write and run every example yourself, then try the exercises and labs before watching the solution.

What you will learn

5 chapters · 16 lessons · 10 h 6 min

  1. 01Getting Started with Java and OOP

    1. Introduction to Java and OOPFree15 min
    2. Creating a Class and ObjectsFree20 min
    3. Input and Output: Scanner and printfFree14 min
  2. 02Practice: Arrays, Strings and Files

    1. TD1: Array Functions and Merge SortLocked1 h 9 min
    2. TP1: Random Characters, Strings and FilesLocked55 min
  3. 03Constructors and Encapsulation

    1. ConstructorsLocked18 min
    2. EncapsulationLocked11 min
    3. TD2: The Rational ClassLocked1 h 1 min
    4. TP2: The Date, Person and Booklet ClassesLocked1 h 7 min
  4. 04Inheritance, Polymorphism and Interfaces

    1. Inheritance and PolymorphismLocked26 min
    2. InterfacesLocked35 min
    3. TD3: Polynomials with Rational CoefficientsLocked1 h 1 min
  5. 05Generics and Linked Lists

    1. GenericsLocked17 min
    2. TD4: Bank Accounts, Account and BranchLocked1 h 1 min
    3. TP3: Food Products and Stock (LinkedList)Locked32 min
    4. TP4: Employees and Registry (LinkedList)Locked45 min