© S. Uchitel, 2004
myCar = new Car(“Red”, “Fiat 600”, “25”);
What does “Car myCar;” do?
It creates a reference variable called myCar of type Car.
In other words, it creates a variable capable of referring to a Car object.
It does create a Car object.
The variable is stored in the program stack