0
Why it show not output when i click on run???
12 odpowiedzi
+ 1
Could you include the code
0
i just started a few days ago
0
to learn java
0
can you help me i cant uderstand variable
0
I need to see the code to help you
0
I found the code you are talking about
class MyClass {
public static void main(String[ ] args) {
String name ="David";
int age = 42;
double score =15.9;
char group = 'Z';
}
}
The reason there is no output is because it isn't printing anything.
Try This:
class MyClass {
public static void main(String[ ] args) {
String name ="David";
System.out.println(name);
int age = 42;
System.out.println(age);
double score =15.9;
System.out.println(score);
char group = 'Z';
System.out.println(group);
}
}
0
thanks
0
still showing error
0
What error is it showing? It worked for me.
0
playground error
0
Could you paste the exact error it's showing?
0
no