![]()  | 
        Home | Unit 1 | Unit 2 | Unit 3 | Unit 4 | Unit 5 | Unit 6 | Unit 7 | Unit 8 | Unit 9 | Reflection | 
Unit 2
My notes on unit 2.
Using Objects
Classes are blueprints, Objects are what you create using those blueprints.
Methods are functions attached to the class/object
To access math functions, you can use the Math class
There are wrapper classes around the primitive types which are reference objects
        public class Car {
            private String color;
            public Car(String color) {
                this.color = color;
            }
            public String getColor() {
                return color;
            }
        }
    
