person
isn't an instance of Person
but of String
steps
from outside of its classperson
needs to be capitalizedThat's it! The person
variable isn't an instance of Person
but of String
. We could access from outside of Person
and person
shouldn't be capitalized.
Yikes! The person
variable isn't an instance of Person
but of String
. We could access from outside of Person
and person
shouldn't be capitalized.