0
Some output doesn't work as well
It displays no output & some time error
10 Respostas
+ 4
Possible solution
public class Program
{
	public static void main(String[] args) {
		 String name ="David";
                  int age = 42;
                  double score =15.9;
                  char group = 'Z';
                  System.out.println("Age: " + age); 
                  System.out.println("Score: " + score);
                  System.out.println("Group: " + group);
	}
}
+ 4
Moha Mahmoud LOL! 8D
+ 2
Well, there is no output because you have no statement in your code that writes to the console.
Try adding a 
System.out.println();
to your code, with any variable you want to output as the argument.
+ 1
Please show us your code, otherwise there is little we can do by just seeing the error message (except guessing, which wouldn't be helpful).
+ 1
Thanks BaB ^_- C++ Soldier (Babak)
0
Well thanks
0
class MyClass {
    public static void main(String[ ] args) {
        String name ="David";
        int age = 42;
        double score =15.9;
        char group = 'Z';
    }
}
0
It's example BTW
0
Let's try
0
Thanks shadow



