上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 65 下一页
摘要: 类 封装 package com.fqs.demo061201; public class Girl { //属性 String name; private int age; //set赋值 public void setAge(int a){ if (age>18&& age<50){ age=a 阅读全文
posted @ 2023-06-12 20:57 胖豆芽 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 定义一个类Phone 手机的设计图 package com.fqs.demo0612; public class Phone { //定义一个类 手机 //属性 String brand; double price; //方法 public void call() { System.out.prin 阅读全文
posted @ 2023-06-12 19:52 胖豆芽 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; public class hello { public static void main(String[] args) { //定义数组 int[][]arr3={ {1,2,3}, {4,5,6,7,8} 阅读全文
posted @ 2023-06-12 16:16 胖豆芽 阅读(10) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; public class hello { public static void main(String[] args) { int []jang={11,22,33,44,55}; int weishu=5 阅读全文
posted @ 2023-06-12 14:24 胖豆芽 阅读(1) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; public class hello { public static void main(String[] args) { int weishu=6; int []arr1=getNo(weishu); f 阅读全文
posted @ 2023-06-12 14:10 胖豆芽 阅读(4) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; public class hello { public static void main(String[] args) { //获取 个不相等的随机数 int weishu=6; System.out.pr 阅读全文
posted @ 2023-06-12 13:58 胖豆芽 阅读(15) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; public class hello { public static void main(String[] args) { //获取 个不相等的随机数 int weishu=6; System.out.pr 阅读全文
posted @ 2023-06-12 12:27 胖豆芽 阅读(8) 评论(0) 推荐(0) 编辑
摘要: package com.fqs.test; import java.util.Random; import java.util.Scanner; public class hello { public static void main(String[] args) { //获取三个不相等的随机数 i 阅读全文
posted @ 2023-06-09 20:47 胖豆芽 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 优化后 获得一个加密后值 package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //加密传输 1983 //每位上加5 (1+5=6) 阅读全文
posted @ 2023-06-09 14:05 胖豆芽 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 优化后的 package com.fqs.test; import java.util.Random; import java.util.Scanner; public class hello { public static void main(String[] args) { //评委打分 评委个 阅读全文
posted @ 2023-06-08 21:08 胖豆芽 阅读(56) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 65 下一页