@@ -113,7 +113,6 @@ public class Test {
// iterator.remove();
// }
-
System.out.println(list);
}
@@ -1,36 +0,0 @@
-package com.sf;
-public class Test1 {
- //程序启动的入口
- /**
- * int main(){
- * return 0;
- * }
- */
- public static void main(String[] args){
- *
- * 1 字节 = 8位
- * 基本数据类型 整型 byte short int long int
- * 1 2 4 8
- * i++ ++i
- * & && 和 | ||
- * a = true b = false
- * a& b = F
- * a| b = T
- * a && b = F b && a = T/F
- * a || b = T/F
- int x = 1;
- int y = 1;
- if(x++==2 || ++y==2){
- x = 7;
- }
- System.out.println(x);
- System.out.println(y);
-}
@@ -0,0 +1,30 @@
+package com.sf.day08;
+
+public class T {
+ /**
+ * main函数 psvm main
+ */
+ public static void main(String[] args) {
+ * 基本数据类型 整型 byte short int long (int)
+ * 1 2 4 8
+ * i++ ++i
+ * & && | ||
+ * a = true b = false
+ * i++ ==2
+ * a && b = T/F
+ * a || b = T/F
+ *
+ * */
+ int x =1;
+ int y =1;
+ if(x++ == 1 || ++y ==2){
+ x = 7;
+ }
+ System.out.println(x);
+ System.out.println(y);
+}