Computer Applications
A String literal is assigned to a String variable.
Values & Data Types Java
14 Likes
Answer
True
Reason — The data type of the variable that can hold a String literal should also be String.
Answered By
5 Likes
A String literal is assigned to a String variable.
14 Likes
True
Reason — The data type of the variable that can hold a String literal should also be String.
Answered By
5 Likes