起初接触Java的时候,正式开始学习写程序的时候,第一支程序通常是『HelloWorld』,学习过Java的人对这支程序肯定都印象深刻,接下来我会使用这支程序介绍许多Java的小东西!
●[ ]:array ●String:字串阵列●(String[] args):input●args:变数
● The method println() is used to output a string to the screen.
● System.out refers to the standard output device, say the screen.
● Every statement ends with a semicolon (;).
● class: declare a new class followed a distinct class name.
Class取名开头必须大写字母! EX:Student,Order,School…
● public: can be accessed by any other class.
● static: can be called without having any object.
● void: do not return a value.
Table of special characters
Bugs
有三种常见的Bugs:
●Compile-time error: most of them are syntax errors. (语法错误)
● Runtime error: occurs when Java program runs, e.g. 1/0. (通常用以表示有东西不存在)
● Logic error: introduced by implementing the functional requirement incorrectly.(逻辑错误)
<<: [13th-铁人赛]Day 10:Modern CSS 超详细新手攻略 - background
今天来练习切这个版面 运用到的观念 flexbox box model 区块大小的计算 margin...
资料验证(Validation) 回呼(Callback) 资料验证(Validation) 开发网...
1. XState as Global State in React 在 React 提到 Glob...
Aloha!我是少女人妻 Uerica!最近在看加密演算法时,觉得这些想出如何加密、如何更安全的传送...
第二天 各位点进来的朋友,你们好阿 一样废话不多说直接上内容啦~~ ----------------...