- 1
Is there is any problem in code?
class Test { public static void main(String... a1) { int x=10; System.out.println(x); } }
4 Answers
0
đ§Somyađč in ide it show no error but if I run it on cmd it show error 1:duplicate class or 2:file does not contain class Stering
0
For compiling -javac Test.java
And for run java Test