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