Literal is string representation of both data type and data value: 10, "John", ["AUDI", "FIAT"]
Literal notations are different ways of constructing literals that represent the same data type: 10, +10, 012 or 0xA.
Escape Sequences are used for Character & String Literals to symbolize certain characters that can't be written.
All Literals represent Primitive Data Types (except String Literal which represents Non-Primitive Data Type String).
Literals
Example of Primitive Data Types & Literals
//GENERAL
String value = null; //Nul Literal
boolean value = true; //Boolean Literal: true, false
char value = 'A'; //Character Literal
//NUMBERS
byte value = -65; //Integer Literal: 0x41 0101 0b1000001
short value = -65; //Integer Literal: 0x41 0101 0b1000001
int value = -65; //Integer Literal: 0x41 0101 0b1000001
long value = -65; //Integer Literal: 0x41 0101 0b1000001
float value = 65.4; //Float Literal: 0.654E+2
double value = 65.4; //Float Literal: 0.654E+2
//ARRAY
int[] value = {1, 2, 3}; //Array of int
int[][] value = { {1,2}, {3,4,5} }; //2D Array of int
String[] value = {"John", "Bill"}; //Array of String Objects
//STRING
String value = "Hello \n"; //String Literal. String is NOT Primitive Type.