Use of integer literals in its different notation forms as decimal form, octal form, hexadecimal form and binary form.
Use of decimal/fractional/real literals in its different size as float and double.
Use of character literals as direct character assignment, unicode assignment or octal assignment.
Use of string literals as chain of normal alphabets, unicode characters, octal characters, escape sequences etc.
( As In Exam - ICSE2014 )
State one difference between floating point literals float and double.
( As In Exam - ICSE2015 )
Identify the literals listed below:
(i) 0.5 (ii)’A’ (iii) false (iv
Write down both the programmer defined and java library defined identifiers i
Write down all the literals in the given program and tell its type of literal