+ 1
what is the rules to run Helloworld program?
I'm biginr,I m trying it a lot but I cant print the simple helloworld program..I do as same in example but it shown error there..can anyone explain me about rule and method about it?plz
10 Réponses
+ 10
public class helloworld{
public static void main(String[] args)
{
System.out.print("hello world");
}
}
//just copy this no error
0
Do you use the "#include" in the start correctly
0
What language are you learning?
0
oh!I'm learnig java
0
How do you are trying write it?
0
ya.I alredy did it but it shown error.it recomand to use "program.java;.w hat is thi s?
0
Do you are really in java?
0
ya I jst learnig it
0
Well if you are in Java and just copy and paste this without any modifications should work, if already are not working that use another compilator and see if the error continues.