+ 1

why this program shows no output. If there is a output what is it.

class MyClass { public static void main(String[ ] args) { String name ="David"; int age = 42; double score =15.9; char group = 'Z'; } }

3rd Dec 2017, 9:23 AM
d.praveenraj
d.praveenraj - avatar
3 Respostas
+ 2
u have to use system.out.println () or any other functions to see your out put
3rd Dec 2017, 9:30 AM
Jamil Amini
Jamil Amini - avatar