+ 1
why it's give me no output
} class MyClass { public static void main (String [ ] args ) { String name ="David"; int age = 42; double score =15.9; char group = 'z'; } }
6 Réponses
+ 2
You can use variables. For example, if you want to print age to screen, you type - System.out.println(age);
+ 1
You can use variables however you need
+ 1
thanks alot💜❤
0
You should write System.out.print(//some code) or something to use variables
Right now you only have declared variables and you are not using them.
0
i can't understand i am in the second level so what should i do exactly??
0
You're welcome