摘要: public class switchDemo01 { public static void main(String[] args) { //case 穿透 Scanner grade = new Scanner(System.in); System.out.println("请输入>>:"); S 阅读全文
posted @ 2021-09-07 11:06 亮闪闪的鱼 阅读(32) 评论(0) 推荐(0)
摘要: ![image](https://img2020.cnblogs.com/blog/2527717/202109/2527717-20210906114755715-400263695.png) ![image](https://img2020.cnblogs.com/blog/2527717/202109/2527717-20210906115109066-1773428510.png) ![i 阅读全文
posted @ 2021-09-06 11:52 亮闪闪的鱼 阅读(5) 评论(0) 推荐(0)
摘要: package Bao2; /** * @author wangchang * @version 1.0 * @since 1.8 */ public class Doc { String name; /** * @AUT * @param name * @return * @throws Exce 阅读全文
posted @ 2021-09-06 10:31 亮闪闪的鱼 阅读(195) 评论(0) 推荐(0)
摘要: ![image](https://img2020.cnblogs.com/blog/2527717/202109/2527717-20210906095741982-721369463.png) ![image](https://img2020.cnblogs.com/blog/2527717/202109/2527717-20210906095901765-855067592.png) 阅读全文
posted @ 2021-09-06 10:10 亮闪闪的鱼 阅读(11) 评论(0) 推荐(0)
摘要: package Bao2; import com.sun.xml.internal.ws.api.model.wsdl.WSDLPortType; public class Day3 { public static void main(String[] args) { // += -= int a 阅读全文
posted @ 2021-09-06 09:26 亮闪闪的鱼 阅读(57) 评论(0) 推荐(0)
摘要: package Bao2; public class Day2 { public static void main(String[] args) { // 与(and) 或 (or) 非 (取反) boolean a = false; boolean b = true; System.out.pri 阅读全文
posted @ 2021-09-05 15:28 亮闪闪的鱼 阅读(53) 评论(0) 推荐(0)
摘要: package Bao2; public class day1 { public static void main(String[] args) { //二元运算 int a = 10; int b = 20; int c = 30; int d = 30; System.out.println(a 阅读全文
posted @ 2021-09-05 13:52 亮闪闪的鱼 阅读(38) 评论(0) 推荐(0)
摘要: public class Day3 { public static void main(String[] args) { //int a =1,b=2,c=3; int a = 1; int b = 2; String name = "长伟"; char x = 'S'; double num = 阅读全文
posted @ 2021-09-04 15:46 亮闪闪的鱼 阅读(34) 评论(0) 推荐(0)
摘要: public class day2 { public static void main(String[] args) { int i = 127; byte b = (byte)i; //强制转换 (类型)变量名 高--低 //自动转换 低--高 System.out.println(i); //强 阅读全文
posted @ 2021-09-04 13:47 亮闪闪的鱼 阅读(32) 评论(0) 推荐(0)
摘要: public class day1{ public static void main(String[] args){ //整数拓展: 进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i2 = 010; //八进制 0 int i3 = 0x10; //十六进制 0x 阅读全文
posted @ 2021-09-04 12:44 亮闪闪的鱼 阅读(38) 评论(0) 推荐(0)