Advertisements
Advertisements
Question
Give reason whether the following assignment is correct or not.
String st= "Application";
One Line Answer
Solution
This assignment is correct since "Application" is a string literal that is properly allocated to a String variable.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 33]