Then name (according to you) is the identifier of a field in a class. Whereas
'name', on its face, appears to be an invalid character literal. They would not
be interchangeable syntactically. And so your question seems to make no sense
at all.
You originally wrote name enclosed in double quotes, then enclosed in
single quotes. In your followup, you wrote name includes in just single
quotes, which is quite different.
My best guess is that you saw
'name'
or
"name"
in a book something, and that you were supposed to remove the quotation
marks -- just as if I told you to say "hello", I wouldn't expect you to
say "quote hello quote".
You'll need to give more context. Where did you see name in quotation
marks, what *exactly* did it look like, and what did the surrounding
text say?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.