0

Which package should i include while writing hello world programme??

there is an error while writing a hello world programme. it is asking for package? can you solve my problem??

20th Jul 2017, 1:50 PM
Alauddin Khan
Alauddin Khan - avatar
1 Resposta
0
To get better help, upload your code or the error-message. A HelloWorld program in Java usually looks like this: public class HelloWorld{ public static void main(String[] args){ System.out.println("Hello, World!"); } } Then compile your code in the terminal window: javav MyProgram.java Then your can run it in the terminal window: java MyProgram
20th Jul 2017, 2:02 PM
Jan Dickow
Jan Dickow - avatar