摘要: <html> <style type="text/css"> img{ width: 200px; height: 200px; } </style> <script language="JavaScript" type="text/javascript"> function fn(n){ var  阅读全文
posted @ 2023-05-17 14:03 溏心123 阅读(106) 评论(0) 推荐(0)
摘要: from selenium import webdriverimport timefrom selenium.webdriver.common.by import Bybrow=webdriver.Edge()brow.get('https://m.anjuke.com/qd/')time.slee 阅读全文
posted @ 2023-04-11 15:56 溏心123 阅读(21) 评论(0) 推荐(0)
摘要: public class 循环输出实心矩形框 { public static void main(String[] args) { for (int i = 0; i <=5; i++) { for (int j = 0; j <=5 ; j++) { System.out.print("*"); 阅读全文
posted @ 2022-12-05 23:37 溏心123 阅读(160) 评论(0) 推荐(0)
摘要: public class Human { private String name; private String sex; private int age; public String getName() { return name; } public void setName(String nam 阅读全文
posted @ 2022-12-05 23:37 溏心123 阅读(410) 评论(0) 推荐(0)
摘要: public class Student { String name; String add; int age; public String getName() { return name; } public void setName(String name) { this.name = name; 阅读全文
posted @ 2022-12-05 23:36 溏心123 阅读(51) 评论(0) 推荐(0)
摘要: public class Switch { public static void main(String[] args) { System.out.println("请输入你想要购买的商品序号"); System.out.println("1:可乐 2:牛奶 3:苹果"); Scanner s1 = 阅读全文
posted @ 2022-12-05 23:35 溏心123 阅读(20) 评论(0) 推荐(0)
摘要: public class 五级制 { public static void main(String[] args) { System.out.println("请输入你的成绩"); Scanner s1 = new Scanner(System.in); int a = s1.nextInt(); 阅读全文
posted @ 2022-12-05 23:34 溏心123 阅读(175) 评论(0) 推荐(0)
摘要: public class 阶乘 { public static void main(String[] args) { int a = 1; for (int i = 1; i <=5; i++) { a=a*i; } System.out.println(a); }} 阅读全文
posted @ 2022-12-05 23:34 溏心123 阅读(60) 评论(0) 推荐(0)
摘要: import java.util.ArrayList;public class 数组集合输出数据 { public static void main(String[] args) { ArrayList a1 =new ArrayList(); a1.add("张三"); a1.add("李四"); 阅读全文
posted @ 2022-12-05 23:32 溏心123 阅读(227) 评论(0) 推荐(0)
摘要: public class demo05 { public static void main(String[] args) { TicketWindow tw = new TicketWindow(); new Thread(tw,"窗口1").start(); new Thread(tw,"窗口2" 阅读全文
posted @ 2022-12-05 23:32 溏心123 阅读(51) 评论(0) 推荐(0)