A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Mar 09, 2005
May 03, 2005 04:43:00
public class ADirtyOne
char a = '\u000A';
will complain about illegal character assignment. Why???
SCJP 1.4, SCBCD 1.3
Joined: Aug 03, 2002
May 03, 2005 04:52:00
Search this forum fo u000a or check our
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: char assignment
questions from Marcus Green tutorial
a question about char assignment?
simple concept using *= but ...
difficulty in debugging
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014