Date: February 27, 2023

Topic: Primitive Type and Operators

Recall

Class 00

Class 01

2‘ complement

Primitive Type

进位制

Operators and precedence

Type Conversion

Notes

除了这八种Primitive type外,其他的都叫Reference type:objects stored in heap(operated by references)

除了这八种Primitive type外,其他的都叫Reference type:objects stored in heap(operated by references)

Untitled

Untitled

++在后,先赋值后自加,++在前,先自加后赋值。

++在后,先赋值后自加,++在前,先自加后赋值。

Untitled

精度低的type 到精度高的type conversion可以不加(type)

精度低的type 到精度高的type conversion可以不加(type)

<aside> 📌 SUMMARY:

</aside>

Date: March 1, 2023

Topic: 1D/ 2D Array + Class/Object

<aside> 📌 SUMMARY: 0 假空,所有的primitive type default是 0, (byte, short, int, long: 0; float, double: 0.0; chart: ‘0’) array default是 0,boolean default 是false, reference type default是 null。

</aside>


Date: March 2, 2023

Topic: Class & Objects 2&3

<aside> 📌 SUMMARY: 打印一个int[] result, System.out.println(Arrays.toString(result));

</aside>


Date: March 10, 2023