Java Arena

Module 27

Procedural and object-oriented programs

Two ways of organizing a program. What a programming paradigm is, procedural programs made of steps and of methods that work on the values passed to them, the same programs made of objects that keep their own data and rules, what each style makes easy, and how Java programs combine the two. MOOC section 7.1.

Steps

  1. Procedural programs
  2. The same program with objects
  3. A command program, procedurally
  4. The command program with a class