String s; s = "Width: " + "10";
String s; s = "Width: " + 10;
String s; s = "Width: " + 10 + " " + "Height: " + 2;
String s; Rectangle rec = getRec1(); s = "Width: " + rec.getWidth();