Your first class
Tried it several different ways...
name = Sam
Your name is considered a string and as such it should be surrounded by quotes.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.