Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
This week's giveaway is in the
Testing
forum.
We're giving away four copies of
TDD for a Shopping Website LiveProject
and have Steven Solomon on-line!
See
this thread
for details.
Win a copy of
TDD for a Shopping Website LiveProject
this week in the
Testing
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Programmer Certification (OCPJP)
Representation of strings
vinayak manda
Ranch Hand
Posts: 31
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Which are valid/invalid and if so why?
String
s = "\n";
String s1="\r";
String s2= "\u000a";
String s3 ="\u000d";
String s4="'\u0041'";
String s5="\u0041";
String s6 ="\uD7AF";
Louie van Bommel
Ranch Hand
Posts: 76
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hop to the jls, section 3.10.5 String Literals
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#101083
I am going to test your electrical conductivity with this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to convert unicode to string
Unicode problem
char literal
convert given unicode literal
String assignment confusion
More...