📖 Samacheer Kalvi · 11th TN - English Medium · Computer Applications · Page 300question

CHAPTER 14 · Part 4

Chapter 8: CHAPTER 14 · Computer Applications

any data type to a variable and later you can assign a value of different data type to the same variable. For example: var value= ; var value=”JavaScript”; . . JavaScript Literals A literal is a fixed value given to a variable in source code.

Literals are often used to initialize variables. Values may be Integer, Floating point, Character, String and Boolean. For Example, var = ; //Integer constant// var = . ; //Floating point constant// var =’A’; //Character constant// var =”Raman”; //String constant// var =true; //Boolean constant//

Related topics

Have a question about this topic?

Get an AI answer grounded in your actual textbook — with the exact page reference.

Ask AI about this topic →