当前位置:网站首页>Hello World generation
Hello World generation
2022-07-01 03:06:00 【Aiwoniulucky】
1. Create a new folder , Store code
2. Create a new one java file
. File suffix .java
.Hello.java
.[ Be careful ] The system may not display the file suffix , You have to open it manually
3. Write code
public class Hello{
public static void main(String[] args){
System.out.print("Hello,World!");
}
}
4. compile javac java file , Will generate a class file
5. function class file ,java class file 
What might happen
1. There should be no problem with the case of each word ,java Sensitive to case
2. Try to use English
3. The file name and class name must be consistent , And capitalize the first letter
4. Chinese symbols cannot appear
边栏推荐
- 最新接口自动化面试题
- Mouse over effect III
- 伺服第二编码器数值链接到倍福PLC的NC虚拟轴做显示
- Dart training and sphygmomanometer inflation pump power control DPC
- Chapter 03_ User and authority management
- Saving images of different depths in opencv
- UE4 rendering pipeline learning notes
- STM32 - DS18B20 temperature sampling of first-line protocol
- Cloud native annual technology inventory is released! Ride the wind and waves at the right time
- Introduction to kubernetes resource objects and common commands (II)
猜你喜欢
随机推荐
Stop saying that you can't solve the "cross domain" problem
【小程序项目开发 -- 京东商城】uni-app 商品分类页面(上)
[applet project development -- JD mall] uni app commodity classification page (first)
Prototype and prototype chain in JS
【小程序项目开发-- 京东商城】uni-app之首页商品楼层
A few lines of transaction codes cost me 160000 yuan
Huawei operator level router configuration example | BGP VPLS configuration example
咱就是说 随便整几千个表情包为我所用一下
Saving images of different depths in opencv
So easy deploy program to server
Introduction to ieda right click source file menu
Design practice of current limiting components
MCU firmware packaging Script Software
Elk elegant management server log
Cloud native annual technology inventory is released! Ride the wind and waves at the right time
JS to find duplicate elements in two arrays
Share Creators萌芽人才培养计划来了!
Densenet network paper learning notes
Is it safe to open a stock account? Shanghai stock account opening procedures.
【Qt】添加第三方库的知识补充








