| Share this post! | Vote this! |
|
This web page focuses on the following
Once a string object is created it can never be changed, string objects are immutable objects. String objects are create using the new keyword, the String class has many constructors.
String example
String s = new String();
s = "Using the new keyword";
String s = new String("Using a one liner");
String s = "Using the shorthand version"; more...
- String Class
- Math Class
- Wrapper Classes
Once a string object is created it can never be changed, string objects are immutable objects. String objects are create using the new keyword, the String class has many constructors.
String example
String s = new String();
s = "Using the new keyword";
String s = new String("Using a one liner");
String s = "Using the shorthand version"; more...



0 comments:
Post a Comment