Study
CS-721 route
Unit 1 · Lesson 5 of 5 6 min

Reference Variables, Parameter Passing and Static Members

A variable never holds the object itself — and that one fact explains Java's most famous crash.

What this unit covers

Unit 1: Classes and Objects in Java

  1. 1 Introduction to Java ProgrammingA language named after coffee, built so one compiled program could run on any machine with a JVM. · 5 min
  2. 2 Classes and Objects: State, Behaviour and IdentityOne paper pattern, a hundred different kaftans — meet the difference between a class and the objects made from it. · 4 min
  3. 3 Defining and Using a Class in JavaBuild a working bank account in Java, one field, one method and one constructor at a time. · 5 min
  4. 4 Constructors and Constructor OverloadingEvery object has a birthday — see exactly what Java does in the moment you write new. · 3 min
  5. 5 Reference Variables, Parameter Passing and Static MembersA variable never holds the object itself — and that one fact explains Java's most famous crash. · 6 min