Cherry's Playground
Journey
Home
Menu 1
Drop 1-1
Drop 1-2
Drop 1-3
Menu 2
Drop 2-1
Drop 2-2
Menu 3
Drop 3-1
Drop 3-2
Drop 3-3
Drop 3-4
Menu 4
Menu 5
AllBlogTools
Thursday, November 13, 2008
Java Char to String
2 ways...
if c is the character...
1. Use String.valueOf(c), This gives a String representation of the argument i.e. c
2. Add to StringBuffer and finally get a String by calling toString() on the StringBuffer
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment