publicclass MainClass {
publicstaticvoid main(String[] argv) {
String name = ""; // an empty string, but still an object
String type = ".TXT";
String longtxt = "A great long bunch of text \n" + "to illustrate how you break long lines.";
}
}
1.15.String
1.15.1.
Java does not deal with strings as arrays of bytes, but as objects