10 2022 档案

摘要:import time from webdriver_helper import webdriver, get_webdriver from selenium.webdriver import chrome from selenium.webdriver.common.by import By dr 阅读全文
posted @ 2022-10-31 23:26 NiceTwocu 阅读(71) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class tologin { public stat 阅读全文
posted @ 2022-10-31 22:27 NiceTwocu 阅读(37) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; public class string_02 { public static void main(String[] args) { String s1="itheima"; String s2="itheima"; String s3="Itheima"; 阅读全文
posted @ 2022-10-31 21:38 NiceTwocu 阅读(23) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; public class string_01 { public static void main(String[] args) { String s1=new String(); System.out.println(s1); System.out.prin 阅读全文
posted @ 2022-10-31 21:27 NiceTwocu 阅读(21) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class JFrame11 { public sta 阅读全文
posted @ 2022-10-29 23:38 NiceTwocu 阅读(25) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame10 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("考勤查询" 阅读全文
posted @ 2022-10-29 23:22 NiceTwocu 阅读(39) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame09 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("考勤查询" 阅读全文
posted @ 2022-10-29 23:09 NiceTwocu 阅读(38) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame08 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("猜数字游戏 阅读全文
posted @ 2022-10-29 22:55 NiceTwocu 阅读(37) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame07 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("聊天室") 阅读全文
posted @ 2022-10-29 22:40 NiceTwocu 阅读(52) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame06 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("聊天室") 阅读全文
posted @ 2022-10-29 22:30 NiceTwocu 阅读(42) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame05 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("用户登录" 阅读全文
posted @ 2022-10-29 22:18 NiceTwocu 阅读(27) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame04 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("我爱大郎" 阅读全文
posted @ 2022-10-29 21:58 NiceTwocu 阅读(10) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame03 { public static void main(String[] args) { JFrame jf=new JFrame(); jf.setTitle("窗口中添加 阅读全文
posted @ 2022-10-29 21:26 NiceTwocu 阅读(191) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class JFrame02 { public static void main(String[] args) { // 构造窗体对象 JFrame jf=new JFrame(); // 给窗口设置 阅读全文
posted @ 2022-10-29 21:10 NiceTwocu 阅读(43) 评论(0) 推荐(0) 编辑
摘要:#创建一个最基本的窗体 package com.itheima; import javax.swing.*; public class JFrame01 { public static void main(String[] args) { // JFrame()构造一个不可见的新窗体 JFrame 阅读全文
posted @ 2022-10-29 20:59 NiceTwocu 阅读(20) 评论(0) 推荐(0) 编辑
摘要:![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029204316242-238405801.png) ![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029204625485-1787782229.png) ![i 阅读全文
posted @ 2022-10-29 20:49 NiceTwocu 阅读(12) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Random; import java.util.Scanner; public class Scanner04 { public static void main(String[] args) { //使用Random获取 阅读全文
posted @ 2022-10-29 18:10 NiceTwocu 阅读(32) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Random; /* Random的基本使用 */ public class Scanner03 { public static void main(String[] args) { //Random():创建一个新的随机数 阅读全文
posted @ 2022-10-29 17:52 NiceTwocu 阅读(183) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Scanner; public class Scanner02 { public static void main(String[] args) { //创建Scanner对象录入数据对象 Scanner sc = new 阅读全文
posted @ 2022-10-29 17:25 NiceTwocu 阅读(379) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Scanner; /* Scanner的基本使用 */ public class Scanner01 { public static void main(String[] args) { //创建Scanner对象 Scan 阅读全文
posted @ 2022-10-29 17:18 NiceTwocu 阅读(23) 评论(0) 推荐(0) 编辑
摘要:![image](https://img2022.cnblogs.com/blog/2426413/202210/2426413-20221029170600000-277344279.png) 阅读全文
posted @ 2022-10-29 17:06 NiceTwocu 阅读(4) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; import java.util.Random; public class shuzu09 { public static void main(String[] args) { //创建窗体对象 JFrame jf 阅读全文
posted @ 2022-10-29 15:15 NiceTwocu 阅读(29) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import javax.swing.*; public class shuzu08 { public static void main(String[] args) { //创建窗体对象 JFrame jf=new JFrame(); jf.setTitl 阅读全文
posted @ 2022-10-29 15:04 NiceTwocu 阅读(48) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Random; public class shuzu07 { public static void main(String[] args) { int [][] arr={{1,2,3},{4,5,6},{7,8,9}}; 阅读全文
posted @ 2022-10-27 23:01 NiceTwocu 阅读(32) 评论(0) 推荐(0) 编辑
摘要:#改进代码 #改进代码 #最终遍历代码 package com.itheima; public class shuzu06 { public static void main(String[] args) { int[][] arr={{1,2,3},{4,5,6},{7,8,9}}; for (i 阅读全文
posted @ 2022-10-27 22:53 NiceTwocu 阅读(68) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; public class shuzu05 { public static void main(String[] args) { int[][] arr={{7,9,10},{213,35,77}}; System.out.println(arr[0]); S 阅读全文
posted @ 2022-10-27 22:30 NiceTwocu 阅读(239) 评论(0) 推荐(0) 编辑
摘要:#二维数组的定义 #静态初始化 #动态初始化 package com.itheima; public class shuzu04 { public static void main(String[] args) { int[][] arr={{7,9,10},{213,35,77}}; System 阅读全文
posted @ 2022-10-27 22:22 NiceTwocu 阅读(42) 评论(0) 推荐(0) 编辑
摘要:### alert 弹窗处理 import time from webdriver_helper import webdriver, get_webdriver from selenium.webdriver import chrome driver = webdriver.Chrome() # 实 阅读全文
posted @ 2022-10-25 23:10 NiceTwocu 阅读(645) 评论(0) 推荐(0) 编辑
摘要:from webdriver_helper import webdriver, get_webdriver from selenium.webdriver import chrome driver = webdriver.Chrome() # 实例化 ,刚启动浏览器是空白页面 driver.maxi 阅读全文
posted @ 2022-10-25 22:38 NiceTwocu 阅读(26) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Scanner; /* 定义一个可以存储5个元素的int数组,数据来源于键盘输入,最后遍历数组,把元素输出在控制台 */ public class shuzu03 { public static void main(Stri 阅读全文
posted @ 2022-10-25 21:16 NiceTwocu 阅读(77) 评论(0) 推荐(0) 编辑
摘要:from webdriver_helper import webdriver, get_webdriver from selenium import webdriver # def get_all_attr(obj): # """获取对象的全部属性""" # l = [] # m_list = di 阅读全文
posted @ 2022-10-24 23:35 NiceTwocu 阅读(32) 评论(0) 推荐(0) 编辑
摘要:from webdriver_helper import webdriver,get_webdriver from selenium import webdriver driver=get_webdriver()#实例化 ,刚启动浏览器是空白页面 driver.maximize_window()#窗 阅读全文
posted @ 2022-10-24 23:08 NiceTwocu 阅读(112) 评论(0) 推荐(0) 编辑
摘要:from webdriver_helper import webdriver,get_webdriver from selenium import webdriver driver=get_webdriver()#实例化 driver.maximize_window()#窗口最大化 print("获 阅读全文
posted @ 2022-10-24 22:55 NiceTwocu 阅读(105) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; public class shuzu02 { public static void main(String[] args) { //格式:数据类型[] 变量名 = new 数据类型[数组长度] int[] arr=new int[3]; //输出数组名 Sy 阅读全文
posted @ 2022-10-24 22:29 NiceTwocu 阅读(29) 评论(0) 推荐(0) 编辑
摘要:package com.itheima; import java.util.Random; public class shuzu01 { // public static void main(String[] args) { // int arr [] = {12,45,98,73,60}; // 阅读全文
posted @ 2022-10-24 22:16 NiceTwocu 阅读(88) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示