Java Programming
String variables
The syntax for declaring and initializing a string variable
String variableName = value;
How to declare and initialize a string
String message1 = "Invalid data entry.";
String message2 = "";
String message3 = null;