Defining and Using a Class in Java
Build a working bank account in Java, one field, one method and one constructor at a time.
What this unit covers
Unit 1: Classes and Objects in Java
- 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 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 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 Constructors and Constructor OverloadingEvery object has a birthday — see exactly what Java does in the moment you write new. · 3 min
- 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