public class Objects1 { public static void main(String[] args) { // Java's objects only exist as pointers // which we will talk about later // have to do new for each one Dog fluffy = new Dog(); fluffy.name = "Muff"; fluffy.age = 3; fluffy.fleaWeights = new double[100]; fluffy.buddy = new Cat(); fluffy.fleaWeights[0] = .00002 fluffy.buddy.name = "Tabby McWhispers" Dog spot = new Dog(); spot.name = "Spot"; spot.age = 3; spot.fleaWeights = new double[100]; spot.buddy = new Cat(); spot.bark(); fluffy.bark(); fluffy.birthday(); fluffy.birthday(); fluffy.birthday(); int x = fluffy.age * 5; System.out.println(x); } }