Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

String - Displaying the String values in Java

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

  1. class ForgetCode
  2. {
  3. public static void main(String args[])
  4. {
  5. String forget="www.forgetcode.com";
  6. System.out.println("Syntax warehouse "+forget);
  7. }
  8. }
  9.