new Car("Tesla", "Model S");
Car("Tesla", "Model S");
To correctly create an object by using the Car class we need to use the word new.
Car
new