Java > Java Syntax
Loading video...

QuickNotes™  

Java Syntax

  • Primitive Data Type: Built in simple data type in Java (int, long, float, double, boolean, char, string)

  • Computer Character Representation: ASCII (uses 8 binary digit), Unicode (uses 16 binary digits)

  • Comments: Used by programmers to explain the code in a program, they are ignored by the sytem. (// or /* Comment*/ is used to indicate comments)

  • Reserved words: List of words that are used by a compiler and users are not allowed to change their definition.

  • Identifiers: Names chosen by programmers to identify components of a program.

  • Variable: Named memory locations to store data

  • Constant (static final): Named memory location to store constant values that will not change.