Literals in Java
Any constant value that can be assigned to the variable is called a literal. In Java, a Literal is value of boolean,character,numeric or string data. int x=103; //Here 103 is a constant/literal Types of Literals in Java Java supports the following types of literals: Boolean literals […]