previous
|
start
|
next
Strings
A string is a sequence of characters
Strings are objects of the
String
class
String constants:
"Hello, World!"
String variables:
String message = "Hello, World!";
String length:
int n = message.length();
Empty string:
""
previous
|
start
|
next