Last Minute Java Programming Data Literals or Constants Tutorial
Like any other programming language, Java too supports Data constants or Literals. A literal is simply a constant of data we assign to a variable of a particular data type.
Java Data Literals or Constants
There are 5 types of Literals or constants in Java language.