上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页
摘要: package com.demo.StringBuiler; public class day01 { public static void main(String[] args) { //StringBuilder:提高字符串效率 long start = System.currentTimeMi 阅读全文
posted @ 2023-03-07 14:38 文采呱呱 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 字符替换: package com.demo.cutOut; import java.util.Scanner; public class Replace { public static void main(String[] args) { Scanner sc = new Scanner(Syst 阅读全文
posted @ 2023-03-07 10:35 文采呱呱 阅读(21) 评论(0) 推荐(0) 编辑
摘要: API: String类型: String类型的构造函数: 随机生成验证码: package com.demo.data;import java.util.Random;import java.util.Scanner;public class data { public static void m 阅读全文
posted @ 2023-03-06 15:45 文采呱呱 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package com.demo.css; public class css01 { // java要创造对象,必须要有类的存在 // 类:一组相关属性和行为的集合,看做是对象的设计图 // 对象:是根据设计图,创造出来的实体 // 类和对象的关系: // 1.依赖关系:根据类,创造对象 // 2. 阅读全文
posted @ 2023-03-04 18:03 文采呱呱 阅读(18) 评论(0) 推荐(0) 编辑
摘要: package com.demo.data;public class arr { public static void main(String[] args) { int[] arr = {11, 22, 33, 44,999}; int max = m(arr); System.out.print 阅读全文
posted @ 2023-03-03 10:36 文采呱呱 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 猜数字案例 package com.demo.test; import java.util.Random; import java.util.Scanner; public class rr { public static void main(String[] args) { r(); } publ 阅读全文
posted @ 2023-03-02 17:31 文采呱呱 阅读(11) 评论(0) 推荐(0) 编辑
摘要: package com.demo.test; import java.util.Scanner; public class skip { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 阅读全文
posted @ 2023-03-02 15:39 文采呱呱 阅读(9) 评论(0) 推荐(0) 编辑
摘要: package com.demo.test;public class whileDemo { public static void main(String[] args) {// 水仙花案例 int i = 100; while (i<=999){ int individual = i % 10; 阅读全文
posted @ 2023-03-02 15:15 文采呱呱 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.demo.test; public class circulate { public static void main(String[] args) { System.out.println(); f(); } public static void f() { for (in 阅读全文
posted @ 2023-03-02 14:26 文采呱呱 阅读(10) 评论(0) 推荐(0) 编辑
摘要: package com.demo.test; import java.util.Scanner; public class change { public static void main(String[] args) { s(); } public static void s() { Scanne 阅读全文
posted @ 2023-03-02 14:17 文采呱呱 阅读(7) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 25 下一页