diff --git "a/44 \344\273\243\347\221\236/20221125 java\345\217\230\351\207\217.md" "b/44 \344\273\243\347\221\236/20221125 java\345\217\230\351\207\217.md" new file mode 100644 index 0000000000000000000000000000000000000000..aeba7012fc18b3a7d97a82ac20c923277b23bfb6 --- /dev/null +++ "b/44 \344\273\243\347\221\236/20221125 java\345\217\230\351\207\217.md" @@ -0,0 +1,55 @@ +# java + +## 变量 + +1. 字符 + +```java +char sex = '男'; +``` + + + +1. 整数 + +```java +byte short int[默认] long +``` + + + +1. 小数 + +```java +float double[默认] +``` + + + +1. 字符串 + +```java +String +``` + + + +1. 布尔 + + ```java + boolean + ``` + + + +## 作业 + +```java +public class a { + public static void main(String[] args) { + System.out.println("代瑞你是帅的"); + } +} + +``` +