Hi guys,I'm trying to write a class but ran into trouble. It works perfectly if I put in one parameter for the constructor, but it fails if I put in more than one parameter.Anyone knows why? : (New to class, thanks in advance!
try removing the space between Car and the parameters Car("honda", "fit")
also you can bypass the parameter definition and put the properties inside the constructor like this (not a big difference but it's more elegant):