aspose file tools*
The moose likes Beginning Java and the fly likes what characters are used to containing a string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what characters are used to containing a string" Watch "what characters are used to containing a string" New topic
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: 563
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?


Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39768
    
  28
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: 4658
    
    5

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
 
Don't get me started about those stupid light bulbs.
 
subject: what characters are used to containing a string