String - Displaying the String values in Java

String: To store the Contents to use in the program.
Syntax:
AccessModifier String VariableName ;
Example: public String a;

class ForgetCode
{
public static void main(String args[])
{
String forget="www.forgetcode.com";
System.out.println("Syntax warehouse "+forget);
}
}