Day4 Hello World! &基本介绍

起初接触Java的时候,正式开始学习写程序的时候,第一支程序通常是『HelloWorld』,学习过Java的人对这支程序肯定都印象深刻,接下来我会使用这支程序介绍许多Java的小东西!
https://ithelp.ithome.com.tw/upload/images/20210916/20140457z8Xdsn84Lw.jpg
●[ ]: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
https://ithelp.ithome.com.tw/upload/images/20210916/20140457cycJ8KTybv.jpg

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

>>:  [DAY1] 在开始之前

Day27 切版笔记 - 破格式设计

今天来练习切这个版面 运用到的观念 flexbox box model 区块大小的计算 margin...

Ruby on Rails Model 验证及回呼

资料验证(Validation) 回呼(Callback) 资料验证(Validation) 开发网...

Day 29 - XState in React 2 (着重: global state and performance concerned)

1. XState as Global State in React 在 React 提到 Glob...

【在厨房想30天的演算法】Day 27 资讯安全与演算法 : 迪菲-赫尔曼密钥交换

Aloha!我是少女人妻 Uerica!最近在看加密演算法时,觉得这些想出如何加密、如何更安全的传送...

C语言和你 SAY HELLO!!

第二天 各位点进来的朋友,你们好阿 一样废话不多说直接上内容啦~~ ----------------...