Java Syntax Reference sheet

Comments Documentation Comment Statement Comments /** * */ E.g., /**  This is a sample comment *     that would span *     multiple lines   */ // // This is a sample single line comment Primitive data Type int E.g., int sumOfNumbers; double E.g, double average; char E.g., char singleChar; boolean E.g., boolean isBig; Declaring Variables <Visibility>  <type> …