Skip to content

CM1 — From Python to Java

Stéphane Derrode — Centrale Lyon · S7 Inf A3

:material-file-pdf-box: Download PDF


Topics covered

  • Java vs Python — compilation model, JVM, static typing
  • Maven project setup in VSCodium
  • Primitive types and control flow
  • Classes and objects — the Car example
  • Object references — == vs equals()
  • The String class and StringBuilder

Outline

  1. Java vs Python — the big picture
  2. Maven & the compilation model
  3. Types & control flow
  4. Classes & objects — the Car example
  5. References & equality (== vs .equals())
  6. The String class

→ then TD1: build the Car and Garage classes.