Hello world using java

Creating
Compile
Run

*code *
public class First
{
public static void main(String[] args)
{
System.out.println(“Hello, World”);
}
}

save the file First.java
after open terminal :
compiler code: javac First.java
now creating the class file
*Run code: * java First
now display the hello world

原文链接:Hello world using java

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容