diff --git "a/40 \346\227\266\345\255\246\345\256\211/20221126.md" "b/40 \346\227\266\345\255\246\345\256\211/20221126.md" new file mode 100644 index 0000000000000000000000000000000000000000..601b82a16cb3e8f143f2f4bdb60351a1f651dacf --- /dev/null +++ "b/40 \346\227\266\345\255\246\345\256\211/20221126.md" @@ -0,0 +1,50 @@ +## 笔记 + +整数 + +~~~ java +byte short int(默认) +~~~ + +浮点 + +~~~java +float double(默认 +~~~ + +字符 + +~~~java +char +~~~ + +布尔 + +~~~java +boolean +~~~ + +字符串 + +~~~java +String +~~~ + +### 作业 + +~~~java +public class Java { + public static void main(String[] args) { + String name = "念哥"; + int age = 20 ; + String gender = "未知"; + double height = 175; + System.out.println("班主任:"+ name); + System.out.println("年龄:"+ age); + System.out.println("性别:"+ gender); + System.out.println("身高:"+ height); + System.out.println("介绍:念哥,人美心善,身心健康,小帅,但不很帅,爆粗口贼丑。"); + } +} +~~~ +