Section 2.1 Types and Variables

Every value has a type

Examples:

  String greeting = "Hello, World!";

  PrintStream printer = System.out;

  int luckyNumber = 13;        
    

Identifier: name of a variable, method, or class

Rules for identifiers in Java: