当前位置:网站首页>HelloWorld case analysis
HelloWorld case analysis
2022-07-26 04:07:00 【Rookie tutorial **】
A program can be seen as a description of the execution process of a series of actions .
To write –> compile –> function
Hello world introduction
public class HelloWorld{
public static void main(String[] args){
System.out.println("Hello World!");
}
}

/** Structure definition statement */
public class HelloWorld{
/* Multiline comment /** Documentation Comments /** */
public: keyword , Public ( public )
class: keyword , Category ( classification )
HelloWorld: Custom word name , Represents a class name
{
} Scope of representation ( Scope )
static: keyword , Represents static
void: keyword , return type ( empty , no return value )
main: Indicates the name of the main function
main Back () Represents a list of arguments to a function
string[]: Represents an array of strings
args Represents the name of the string array
*/
*/
/** Structure definition statement */
public static void main(String[] args){
// Output a sentence to the console :hello world!
// A semicolon indicates a statement
/** Function execution statement */
System.out.println("Hello World!");
}
}
Code format :
- java Code location
- java It's strictly case sensitive
- java It's a free-form language
- The code is divided into structure definition statement and function execution statement
- The function execution statement must end with a semicolon
边栏推荐
- 第十八章:2位a~b进制中均位奇观探索,指定整数的 3x+1 转化过程,指定区间验证角谷猜想,探求4份黑洞数,验证3位黑洞数
- [question 019: what is the understanding of spherecastcommand in unity?]
- 在 Istio 服务网格内连接外部 MySQL 数据库
- If you want to do a good job in software testing, you can first understand ast, SCA and penetration testing
- [MCU simulation project] external interrupt 0 controls 8 LED flashes
- Matrix and Gauss elimination [matrix multiplication, Gauss elimination, solving linear equations, solving determinants] the most detailed in the whole network, with examples and sister chapters of 130
- 【SVN】一直出现 Please execute the ‘Cleanup‘ command,cleanup以后没有反应的解决办法
- Operator new, operator delete supplementary handouts
- Kbpc1510-asemi large chip 15A rectifier bridge kbpc1510
- Tactile intelligent sharing-rk3568 application in scenic spot navigation robot
猜你喜欢

按键消抖的Verilog实现
![[SVN] please execute the 'cleanup' command appears all the time. The solution is that there is no response after cleanup](/img/44/69c434fc9564078e11735881d9bf34.png)
[SVN] please execute the 'cleanup' command appears all the time. The solution is that there is no response after cleanup

Luoda Development -- the context of sidetone configuration

Dat of deep learning

Opencv learning notes - remapping
![[Reading Notes - > data analysis] 01 introduction to data analysis](/img/50/622878bf649e77d5a4fa9732fa6f92.png)
[Reading Notes - > data analysis] 01 introduction to data analysis

General test case writing specification

Testing is not valued? Senior: you should think in another position

Synchronous FIFO based on shift register

在 Istio 服务网格内连接外部 MySQL 数据库
随机推荐
Uniapp pit filling Tour
Connect external MySQL databases in istio Service Grid
Inventory the concept, classification and characteristics of cloud computing
If you want to do a good job in software testing, you can first understand ast, SCA and penetration testing
Redis如何实现持久化?详细讲解AOF触发机制及其优缺点,带你快速掌握AOF
Go plus security: an indispensable security ecological infrastructure for build Web3
Chapter 18: explore the wonders of the mean in the 2-bit a~b system, specify the 3x+1 conversion process of integers, specify an interval to verify the angular Valley conjecture, explore the number of
LeetCode. 6115 count the number of ideal arrays
ZK snark: about private key, ring signature, zkksp
This article takes you to graph transformers
Overview of wavelet packet transform methods
AcWing. 102 best cattle fence
Apple removed the last Intel chip from its products
Worked overtime for a week to develop a reporting system. This low code free it reporting artifact is very easy to use
Brief tutorial for soft exam system architecture designer | case analysis and problem solving skills
Supervit for deep learning
第十八章:2位a~b进制中均位奇观探索,指定整数的 3x+1 转化过程,指定区间验证角谷猜想,探求4份黑洞数,验证3位黑洞数
PHP <=> 太空船运算符(组合比较符)
[cloud native kubernetes] how to use configmap under kubernetes cluster
基于移位寄存器的同步FIFO