Computer Applications
A String literal is assigned to a String variable.
Values & Data Types Java
11 Likes
Answer
True
Reason — The data type of the variable that can hold a String literal should also be String.
Answered By
4 Likes
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