June 2017
Beginner
1296 pages
69h 23m
English
In this chapter you’ll:
Declare a class and use it to create an object.
Implement a class’s behaviors as methods.
Implement a class’s attributes as instance variables.
Call an object’s methods to make them perform their tasks.
Learn what local variables of a method are and how they differ from instance variables.
Learn what primitive types and reference types are.
Use a constructor to initialize an object’s data.
Represent and use numbers containing decimal points.
Learn why classes are a natural way to model real-world things and abstract entities.
Read now
Unlock full access