KnowledgeBoat Logo

Computer Applications

Distinguish between "A" and 'A'.

Values & Data Types Java

47 Likes

Answer

"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

27 Likes


Related Questions