| Author |
StringBuilder
|
Anoop Shiralige
Greenhorn
Joined: Jun 23, 2012
Posts: 2
|
|
Hi !!
- How to read a String into StringBuilder Object from System.in? or Can we convert a String into a StringBuilder ?
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16692
|
|
Anoop Shiralige wrote:Hi !!
- How to read a String into StringBuilder Object from System.in? or Can we convert a String into a StringBuilder ?
You can initialize a StringBuilder with a String, or you can append a String into a StringBuilder -- so, if the String is the only item appended to the StringBuilder, then I guess you can say that you converted a String into a StringBuilder.
Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
Anoop Shiralige
Greenhorn
Joined: Jun 23, 2012
Posts: 2
|
|
Thanks Henry
|
 |
 |
|
|
subject: StringBuilder
|
|
|