赛派号

双人床便宜还是大床房便宜 Java Hello World

public static void main(String[] args) { ... }

This is the main method. Every application in Ja must contain the main method. The Ja compiler starts executing the code from the main method.

How does it work? Good question. However, we will not discuss it in this article. After all, it's a basic program to introduce Ja programming language to a newbie. We will learn the meaning of public, static, void, and how methods work? in later chapters.

For now, just remember that the main function is the entry point of your Ja application, and it's mandatory in a Ja program. The signature of the main method in Ja is:

public static void main(String[] args) { ... .. ... }

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了