+ 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

27th Aug 2017, 1:15 PM
Durga Prasad Regmi
Durga Prasad Regmi - avatar
10 Antworten
+ 10
public class helloworld{ public static void main(String[] args) { System.out.print("hello world"); } } //just copy this no error
27th Aug 2017, 1:23 PM
P R
P R - avatar
27th Aug 2017, 2:42 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
0
Do you use the "#include" in the start correctly
27th Aug 2017, 1:19 PM
Gabriel Pereira
Gabriel Pereira - avatar
0
What language are you learning?
27th Aug 2017, 1:19 PM
Gabriel Pereira
Gabriel Pereira - avatar
0
oh!I'm learnig java
27th Aug 2017, 1:21 PM
Durga Prasad Regmi
Durga Prasad Regmi - avatar
0
How do you are trying write it?
27th Aug 2017, 1:23 PM
Gabriel Pereira
Gabriel Pereira - avatar
0
ya.I alredy did it but it shown error.it recomand to use "program.java;.w hat is thi s?
27th Aug 2017, 1:27 PM
Durga Prasad Regmi
Durga Prasad Regmi - avatar
0
Do you are really in java?
27th Aug 2017, 1:32 PM
Gabriel Pereira
Gabriel Pereira - avatar
0
ya I jst learnig it
27th Aug 2017, 1:33 PM
Durga Prasad Regmi
Durga Prasad Regmi - avatar
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.
27th Aug 2017, 1:36 PM
Gabriel Pereira
Gabriel Pereira - avatar