A String literal is assigned to a String variable.
11 Likes
True
Reason — The data type of the variable that can hold a String literal should also be String.
Answered By
4 Likes
The data types int, float, char are called non-primitive data types.
A character literal is always enclosed in double quotes.
String constant can be written by using a set of alphanumeric characters.