Distinguish between "A" and 'A'.
44 Likes
"A" is a string literal of length 1 containing the letter A in uppercase whereas 'A' is a character literal having value of A in uppercase.
Answered By
26 Likes
Distinguish between Integer and float Constant.
Distinguish between Character and String Constant.
What is wrong with the following statement? float flt = 7895.0345;
Describe primitive data types in Java.