Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I represent the apostrophe char in java? ''' doesn't work and ...

807601Jan 23 2008 — edited Jan 23 2008
case '\u0027':
doesn't either.
what is the representation like: 'h' is h
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2008
Added on Jan 23 2008
6 comments
3,465 views