当前位置:网站首页>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
边栏推荐
- [applet project development -- JD mall] uni app commodity classification page (Part 2)
- 【EXSI】主机间传输文件
- 几行事务代码,让我赔了16万
- [PR # 5 A] two way running (state pressure DP)
- STM32——一线协议之DS18B20温度采样
- 倍福TwinCAT3 Ads相关错误详细列表
- Communication protocol -- Classification and characteristics Introduction
- mybati sql 语句打印
- 最好用的信任关系自动化脚本(shell)
- Introduction to webrtc concept -- an article on understanding source, track, sink and mediastream
猜你喜欢

Redis分布式锁的8大坑

Restcloud ETL WebService data synchronization to local

8 pits of redis distributed lock

【小程序项目开发-- 京东商城】uni-app之分类导航区域

XXL job User Guide

Completely solve the lost connection to MySQL server at 'reading initial communication packet

Const and the secret of pointers

Redis 教程

Gartner research: in China, the adoption of hybrid cloud has become the mainstream trend

Multithreaded printing
随机推荐
调试定位导航遇到的问题总结
lavaweb【初识后续问题的解决】
Design practice of current limiting components
几行事务代码,让我赔了16万
单片机 MCU 固件打包脚本软件
CX5120控制汇川IS620N伺服报错E15解决方案
EtherCAT简介
【小程序项目开发-- 京东商城】uni-app之首页商品楼层
Redis tutorial
Is it safe to open an account online in a small securities firm? Will my money be unsafe?
Mouse over effect 9
Is it safe to open a stock account? Shanghai stock account opening procedures.
Cloud native annual technology inventory is released! Ride the wind and waves at the right time
STM32 - DS18B20 temperature sampling of first-line protocol
Dart training and sphygmomanometer inflation pump power control DPC
Summary of problems encountered in debugging positioning and navigation
别再说不会解决 “跨域“ 问题啦
Xception learning notes
Example of Huawei operator level router configuration | example of configuring optionc mode cross domain LDP VPLS
How do I hide div on Google maps- How to float a div over Google Maps?