Java HariKrishna - 11 AM online class Literals, types of literals and Java 7 new features ====================================== 1) What is a literal? 2) Why literal? 3) How many types of literals? 4)
![Difference Between Variables and Data Literals in Java | Compare the Difference Between Similar Terms Difference Between Variables and Data Literals in Java | Compare the Difference Between Similar Terms](https://i1.wp.com/www.differencebetween.com/wp-content/uploads/2018/03/Difference-Between-Variables-and-Data-Literals-in-Java-fig-1.png)
Difference Between Variables and Data Literals in Java | Compare the Difference Between Similar Terms
![Java's short spans from -32768 (=0x8000) but why do we have to cast 0x8000 to short explicitly? - Stack Overflow Java's short spans from -32768 (=0x8000) but why do we have to cast 0x8000 to short explicitly? - Stack Overflow](https://i.stack.imgur.com/VGFyD.png)