| Author |
what characters are used to containing a string
|
Juan Villena
Greenhorn
Joined: Aug 27, 2011
Posts: 20
|
|
Can someone help me with this questions please...
what caracters are used to containing a string
thanks
|
 |
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
|
|
|
Characters are single items, 'a', 'x', ,\n', etc. Strings can be made up of multiple characters, "this is a string." In that light, your question doesn't make sense. Can you restate or explain further what you're trying to understand?
|
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32651
|
|
Welcome to the Ranch
When you write code you use double-straight-quotes " to start and end a String literal. The internal representation does not have delimiting characters at all.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
|
Juan, please CarefullyChooseOneForum. Your other thread with the same question has been locked.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Juan Villena
Greenhorn
Joined: Aug 27, 2011
Posts: 20
|
|
I got the answer, is double quotes " ", my answer was the same like yours...., despite the question is kind of vague, my profesor answered the question.
Thanks for your replies guys....
Sinner7uk
|
 |
 |
|
|
subject: what characters are used to containing a string
|
|
|