05 2023 档案

摘要: 阅读全文
posted @ 2023-05-31 21:16 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 21:04 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 20:47 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 20:38 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 20:16 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 20:09 Karlshell 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 19:52 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 19:39 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 19:26 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 18:36 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 14:26 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 14:19 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 14:10 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 13:52 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 11:33 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 10:14 Karlshell 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 09:58 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 09:48 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 09:33 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-31 09:24 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 21:43 Karlshell 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 21:31 Karlshell 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 21:17 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 21:08 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 20:59 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 20:45 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 16:36 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 16:24 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 15:55 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:55 Karlshell 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:49 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:43 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:22 Karlshell 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:15 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-30 14:02 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 21:31 Karlshell 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 21:03 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 20:44 Karlshell 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 20:36 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 20:25 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 20:11 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 16:37 Karlshell 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 16:08 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要:package com.Demo4; public class Test { public static void main(String[] args) { //目标:完成学生信息管理的实例 ClassManage classManage=new ClassManage(); classManag 阅读全文
posted @ 2023-05-29 15:54 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 15:52 Karlshell 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 14:23 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 11:09 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 10:45 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 10:44 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 09:26 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-29 09:14 Karlshell 阅读(16) 评论(0) 推荐(0) 编辑
摘要:package com.Demo1; public class Test { public static void main(String[] args) { //掌握在类的构造器中,通过this(...)调用兄弟构造器的作用 Student s1=new Student("李四",26,"家里蹲大 阅读全文
posted @ 2023-05-28 18:42 Karlshell 阅读(20) 评论(0) 推荐(0) 编辑
摘要:package com.Demo1; public class Test { public static void main(String[] args) { //搞清楚子类构造器为什么要调用父类构造器,有啥应用场景 Teacher t=new Teacher("李四",36,"Java"); Sy 阅读全文
posted @ 2023-05-28 17:17 Karlshell 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 17:02 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 16:55 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 16:47 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 16:30 Karlshell 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 16:23 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-05-28 16:15 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package com.extendsDemo; public class Test { public static void main(String[] args) { B b=new B(); System.out.println(b.i); // System.out.println(b.j) 阅读全文
posted @ 2023-05-28 16:11 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package itheima; public class Test1 { //掌握懒汉式单例的写法 public static void main(String[] args) { B b1=B.getInstance();//第一次拿对象 B b2=B.getInstance(); System 阅读全文
posted @ 2023-05-28 15:54 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package itheima; /*什么是设计模式,设计模式主要学什么?单例模式解决的什么问题? *设计模式就是具体问题的最优解决方案 * 确保一个类只有一个对象 * * 单例是什么?饿汉式单例特点是什么? * 把类的构造器私有;定义一个类变量储存类的一个对象;提供一个类方法返回对象 * 在获取类 阅读全文
posted @ 2023-05-28 15:43 Karlshell 阅读(4) 评论(0) 推荐(0) 编辑
摘要:package itheima; public class Test { public static void main(String[] args) { //认识两种代码块,了解他们的特点和基本作用 /**代码块是类的5大成分之一(成员变量、构造器、方法、代码块、内部类) * 静态代码块: * 格 阅读全文
posted @ 2023-05-28 15:22 Karlshell 阅读(31) 评论(0) 推荐(0) 编辑
摘要:package itheima; public class Test { public static void main(String[] args) { //掌握使用类方法、实例方法时的几点注意事项 //1.类方法中可以直接访问类的成员,不可以直接访问实例成员 //2.实例方法中既可以直接访问类成 阅读全文
posted @ 2023-05-28 14:51 Karlshell 阅读(16) 评论(0) 推荐(0) 编辑
摘要:package com.StaticDemo; public class Test2 { public static void main(String[] args) { //1.类方法的用法 //类名.类方法(推荐) Stndent1.printHelloWord(); //对象.类方法(不推荐) 阅读全文
posted @ 2023-05-28 14:29 Karlshell 阅读(13) 评论(0) 推荐(0) 编辑
摘要:package com.StaticDemo; public class Test1 { public static void main(String[] args) { //通过案列理解变量类型的应用场景 User u1 =new User(); User u2 =new User(); User 阅读全文
posted @ 2023-05-28 14:16 Karlshell 阅读(53) 评论(0) 推荐(0) 编辑
摘要:package com.StaticDemo; public class Student { //类变量也是静态变量 static String name; //实例变量 也叫对象变量 int age; } package com.StaticDemo; public class Test { pu 阅读全文
posted @ 2023-05-28 14:10 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package com.variable; public class pkg { //1.同一个包下的程序,可以直接访问 //2.访问其他包下的程序,必须导包才可以访问 //3.自己的程序中调用Java提供的程序,也需要导包才可以使用,注意:Java.long包下的程序是不需要我们导包的,可以直接使 阅读全文
posted @ 2023-05-28 11:53 Karlshell 阅读(21) 评论(0) 推荐(0) 编辑
摘要:package com.variable; public class Test { //成员变量和局部变量的区别 //1.类中的位置不同:成员变量(类中,方法外)、局部变量(常见于方法中) //2.初始化值不同:成员变量(有默认值,不需要初始化赋值)、局部变量(没有默认值,使用之前必须完成赋值) / 阅读全文
posted @ 2023-05-28 11:53 Karlshell 阅读(22) 评论(0) 推荐(0) 编辑
摘要:package com.thisDemo; public class Student { double score; public void prinThis(){ System.out.println(this); } public void printPass(double score){ if 阅读全文
posted @ 2023-05-28 11:52 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要:package com.thisDemo; //掌握this应用 //this有啥应用场景:主要用来解决变量名称冲突问题 public class thisDemo { public static void main(String[] args) { Student s1=new Student() 阅读全文
posted @ 2023-05-28 11:51 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package com.String; import java.util.Scanner; public class userDemo { public static void main(String[] args) { for (int i=0;i<3;i++) { Scanner sc=new 阅读全文
posted @ 2023-05-28 11:49 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package com.String; public class StringDemo { public static void main(String[] args) { //快速熟悉String提供的处理字符串的常用方法 String s="黑马java"; //1.获取字符串长度 System 阅读全文
posted @ 2023-05-28 11:48 Karlshell 阅读(25) 评论(0) 推荐(0) 编辑
摘要:package com.String; import java.util.Random; public class SrtingDemo2 { //验证码 public static void main(String[] args) { System.out.println(createCode(4 阅读全文
posted @ 2023-05-28 11:47 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package com.String; public class SrtingDemo1 { public static void main(String[] args) { //String使用时的几个注意事项 //1.String的对象是不可变的 String name="黑马"; name + 阅读全文
posted @ 2023-05-28 11:46 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package com.ST; public class Test1 { //类与对象的一些掌握事项 //1.类名建议用英文单词,首字母大写,满足驼峰模式,且要有意义 //2.类中定义的变量也称为成员变量(对象的属性),类中定义的方法也称为成员方法(对象发行为) //3.成员变量本身存在默认值,同学 阅读全文
posted @ 2023-05-28 11:45 Karlshell 阅读(14) 评论(0) 推荐(0) 编辑
摘要:package com.karl2; public class returnDemo { public static void main(String[] args) { System.out.println("程序开始"); chu(10,5); System.out.println("程序结束" 阅读全文
posted @ 2023-05-28 11:43 Karlshell 阅读(15) 评论(0) 推荐(0) 编辑
摘要:package com.karl2; public class MethoOverDemo { public static void main(String[] args) { //方法重载 kokoko(); sasasa(100); fire(); fire("米国"); fire("米国",9 阅读全文
posted @ 2023-05-28 11:43 Karlshell 阅读(3) 评论(0) 推荐(0) 编辑
摘要:package com.karl2; public class MethoDemo2 { public static void main(String[] args) { //方法在类中的位置放前后无所谓,但一个方法不能放在另一个方法里面 //return语句的下面,不能编写代码,属于无效代码,执行 阅读全文
posted @ 2023-05-28 11:42 Karlshell 阅读(38) 评论(0) 推荐(0) 编辑
摘要:package com.karl2; public class MethoDemo { public static void main(String[] args) { //打印6行 print(6); //打印3行 print(3); } //如果方法不需要返回数据,返回值类型必须申明成void( 阅读全文
posted @ 2023-05-28 11:41 Karlshell 阅读(89) 评论(0) 推荐(0) 编辑
摘要:package com.karl2; public class MethodDemo { public static void main(String[] args) { //方法是一种语法结构,它可以把一段代码封装成一个功能,以便重复调用 //1.调用方法 int rs=sum(10,20); S 阅读全文
posted @ 2023-05-28 11:40 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package com.karl; public class WhileDemo { public static void main(String[] args) { //功能上和for完全一样,for能解决的while也能解决反之亦然 //使用规范:知道循环几次用for,不知道循环几次建议使用wh 阅读全文
posted @ 2023-05-28 11:39 Karlshell 阅读(29) 评论(0) 推荐(0) 编辑
摘要:package com.karl; //if在功能上远远强大于switch //当前条件是区间的时候,应该使用if分支结构 //switch适合做:条件是比较值的情况,代码优雅,性能较好 public class SwitchDemo { public static void main(String 阅读全文
posted @ 2023-05-28 11:39 Karlshell 阅读(15) 评论(0) 推荐(0) 编辑
摘要:package com.karl; public class sixunhuanDemo { public static void main(String[] args) { //死循环3种写法 /*1.for for (;;){ System.out.println("ko"); } */ //经 阅读全文
posted @ 2023-05-28 11:38 Karlshell 阅读(89) 评论(0) 推荐(0) 编辑
摘要:package com.karl; import java.util.Random; public class RandomDemo { public static void main(String[] args) { //创建一个Random对象,用于生成随机数 Random r=new Rand 阅读全文
posted @ 2023-05-28 11:37 Karlshell 阅读(14) 评论(0) 推荐(0) 编辑
摘要:package com.karl; public class loopnestedDemo { public static void main(String[] args) { //外部循环每循环一次,内部循环会全部执行完一轮 //嵌套循环 for (int i = 1; i <= 3; i++) 阅读全文
posted @ 2023-05-28 11:36 Karlshell 阅读(48) 评论(0) 推荐(0) 编辑
摘要:package com.karl; public class guanjianziDemo { public static void main(String[] args) { //break:跳出并结束所在循环的执行 //只能用于结束所在循环,或者结束switch分支的执行 //continue: 阅读全文
posted @ 2023-05-28 11:36 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package com.karl; import java.util.Random; import java.util.Scanner; public class GameDemo { public static void main(String[] args) { //1.生成一个随机号码 Ran 阅读全文
posted @ 2023-05-28 11:35 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package com.karl; import com.sun.net.httpserver.SimpleFileServer; public class forDemo { //应用场景 //减少代码的重复编写,灵活的控制程序的执行 //打印多行HelloWord public static v 阅读全文
posted @ 2023-05-28 11:34 Karlshell 阅读(64) 评论(0) 推荐(0) 编辑
摘要:package com.karl; public class doWhileDemo { public static void main(String[] args) { /** * do-while循环格式 * do{ * 循环语句; * 迭代语句; * }while(循环条件); * * * * 阅读全文
posted @ 2023-05-28 11:33 Karlshell 阅读(26) 评论(0) 推荐(0) 编辑
摘要:package com.encapsulation; public class Student { private double score; public void setSore(double score){ if (score>=0 && score<=100){ this.score=sco 阅读全文
posted @ 2023-05-28 11:33 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Scanner; public class DYtest { public static void main(String[] args) { //1.设计一个电影类 //2.设置一个电影操作类 //3.准备 全部电影信息 DY1 阅读全文
posted @ 2023-05-28 11:31 Karlshell 阅读(75) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Random; import java.util.Scanner; //双色球系统 public class Test8 { public static void main(String[] args) { int[] uesrn 阅读全文
posted @ 2023-05-28 11:30 Karlshell 阅读(39) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; //找素数 public class Test7 { public static void main(String[] args) { System.out.println("当前素数的个数是:"+sea(101,200)); } public static in 阅读全文
posted @ 2023-05-28 11:29 Karlshell 阅读(16) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Random; import java.util.Scanner; //抢红包 public class Test6 { public static void main(String[] args) { int[] moneys= 阅读全文
posted @ 2023-05-28 11:29 Karlshell 阅读(8) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; //数组的拷贝 public class Test5 { public static void main(String[] args) { int[] arr={11,22,33}; int[] arr2=copy(arr); dayin(arr2); } pub 阅读全文
posted @ 2023-05-28 11:28 Karlshell 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; //加密数字 public class Test4 { public static void main(String[] args) { System.out.println(encry(1983)); } //2.加密数字 public static Strin 阅读全文
posted @ 2023-05-28 11:27 Karlshell 阅读(26) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Scanner; //评委打分 //去除最高分和最低分求平均分 public class Test3 { public static void main(String[] args) { System.out.println("得 阅读全文
posted @ 2023-05-28 11:27 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Random; //随机验证码 public class Test2 { public static void main(String[] args) { System.out.println(cali(5)); } public 阅读全文
posted @ 2023-05-28 11:26 Karlshell 阅读(10) 评论(0) 推荐(0) 编辑
摘要:package com.Demo; import java.util.Random; import java.util.Scanner; public class tEST1 { public static void main(String[] args) { //把数据拿到程序中来,用数组装起来 阅读全文
posted @ 2023-05-28 11:25 Karlshell 阅读(6) 评论(0) 推荐(0) 编辑
摘要:package com.ATMdemo; public class Test { public static void main(String[] args) { ATM atm=new ATM(); atm.start(); } } package com.ATMdemo; public clas 阅读全文
posted @ 2023-05-28 11:22 Karlshell 阅读(19) 评论(0) 推荐(0) 编辑
摘要:package com.constructor; public class Student { //无参数构造器 public Student(){ System.out.println("无参数"); } //有参数构造器 public Student(String name,double sco 阅读全文
posted @ 2023-05-28 11:18 Karlshell 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package com.ArrayList; //菜品管理 public class Demo2 { public static void main(String[] args) { Demo22 manager=new Demo22(); manager.start(); } } package 阅读全文
posted @ 2023-05-28 11:15 Karlshell 阅读(21) 评论(0) 推荐(0) 编辑
摘要:package com.ArrayList; import java.util.ArrayList; public class Demo { public static void main(String[] args) { //1.创建一个ArrayList的集合对象 ArrayList<Strin 阅读全文
posted @ 2023-05-28 11:13 Karlshell 阅读(17) 评论(0) 推荐(0) 编辑
摘要:package com.ArrayList; import java.util.ArrayList; public class Demo1 { public static void main(String[] args) { //创建一个ArrayList集合对象 ArrayList<String> 阅读全文
posted @ 2023-05-28 11:12 Karlshell 阅读(25) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; import java.util.Scanner; public class ArrayTest1 { public static void main(String[] args) { //评委打分 //定义动态初始化数组,储存6个评委的打分 double[] 阅读全文
posted @ 2023-05-28 11:09 Karlshell 阅读(16) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; public class ArrayTest { public static void main(String[] args) { //对数组的元素求和 //定义一个数组 int[] money={16,26,36,6,100}; //定义一个变量用于累加求和 阅读全文
posted @ 2023-05-28 11:08 Karlshell 阅读(68) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; public class ArrayDemo4 { public static void main(String[] args) { //多个变量指向同一个数组对象的形式 int[] arr1={11,22,33}; //把int类型的数组变量arr1赋值给in 阅读全文
posted @ 2023-05-28 11:08 Karlshell 阅读(25) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; //动态初始化:适合开始不确定具体元素值,只知道元素个数的业务场景 //静态初始化:适合一开始就知道存入哪些元素值的业务场景 public class ArrayDemo3 { public static void main(String[] args) { / 阅读全文
posted @ 2023-05-28 11:07 Karlshell 阅读(14) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; public class ArrayDemo2 { public static void main(String[] args) { //数组的遍历 int[] ages = {12,24,36}; // 0 1 2 for (int i = 0; i < ag 阅读全文
posted @ 2023-05-28 11:06 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑
摘要:package com.karl1; public class ArrayDemo1 { public static void main(String[] args) { //数组的访问 int[] arr={12,24,36}; //0 1 2 //访问数据 System.out.println( 阅读全文
posted @ 2023-05-28 11:05 Karlshell 阅读(14) 评论(0) 推荐(0) 编辑
摘要:1 package com.karl1; 2 3 public class ArrayDemo { 4 public static void main(String[] args) { 5 //静态初始化数组 6 7 //1.数据类型[] 数组名=new 数据类型[]{元素1,元素2,元素3.。。。 阅读全文
posted @ 2023-05-28 11:05 Karlshell 阅读(11) 评论(0) 推荐(0) 编辑

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