0
Can I use String variable name as a alphanumeric variable name? also can we decleare a line including blank spaces as input?
ex: String Soup18="I aM aWeSoMe"
2 Antworten
+ 1
Anytime you wanna know whether or not you can do something. Try coding it first, then copy/print it to us if there's an error.
0
yes you can
try this
public class Program
{
public static void main(String[] args) {
String playing11;
playing11="you are in playing11";
System.out.println(playing11);
}
}
prints the string elements.