0

Why it show not output when i click on run???

8th Jun 2017, 1:03 AM
Natsha Ayan
Natsha Ayan - avatar
12 odpowiedzi
+ 1
Could you include the code
8th Jun 2017, 2:00 AM
Cailyn Baksh
0
i just started a few days ago
8th Jun 2017, 2:04 AM
Natsha Ayan
Natsha Ayan - avatar
0
to learn java
8th Jun 2017, 2:04 AM
Natsha Ayan
Natsha Ayan - avatar
0
can you help me i cant uderstand variable
8th Jun 2017, 2:05 AM
Natsha Ayan
Natsha Ayan - avatar
0
I need to see the code to help you
8th Jun 2017, 4:32 AM
Cailyn Baksh
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); } }
8th Jun 2017, 1:34 PM
Cailyn Baksh
0
thanks
8th Jun 2017, 1:36 PM
Natsha Ayan
Natsha Ayan - avatar
0
still showing error
8th Jun 2017, 1:45 PM
Natsha Ayan
Natsha Ayan - avatar
0
What error is it showing? It worked for me.
8th Jun 2017, 11:08 PM
Cailyn Baksh
0
playground error
9th Jun 2017, 8:36 AM
Natsha Ayan
Natsha Ayan - avatar
0
Could you paste the exact error it's showing?
10th Jun 2017, 2:24 PM
Cailyn Baksh
0
no
11th Jun 2017, 4:45 PM
Natsha Ayan
Natsha Ayan - avatar