posted 25 years ago
The problem is, "" is a String object, not a char. Any time you use double quotes, you are creating a String object. (In this case it's a String with 0 characters in it, but it's still a String.) All the other answers use single quotes, as appropriate for a char.
"I'm not back." - Bill Harding, Twister