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
Carexample - Object references —
==vsequals() - The
Stringclass andStringBuilder
Outline
- Java vs Python — the big picture
- Maven & the compilation model
- Types & control flow
- Classes & objects — the
Carexample - References & equality (
==vs.equals()) - The
Stringclass
→ then TD1: build the Car and Garage classes.