摘要:
构造器 package com.andy.base.oop.demo01.demo03; public class Pet { public String name ;//null public int age ; //null //无参构造 public void shout(){ System. 阅读全文
posted @ 2023-02-27 18:15
努力学习的J1an-JIan
阅读(17)
评论(0)
推荐(0)
摘要:
面向对象 package com.andy.base.oop.demo01; public class Demo01 { //main方法 public static void main(String[] args) { } /* 修饰符 返回类型 方法名(...){ //方法体 return 返回 阅读全文
posted @ 2023-02-27 18:14
努力学习的J1an-JIan
阅读(5)
评论(0)
推荐(0)
摘要:
稀疏数组 package com.andy.base.Andy.operator.array; import java.util.Arrays; public class ArrayDemo08 { public static void main(String[] args) { //创建一个二维数 阅读全文
posted @ 2023-02-27 18:14
努力学习的J1an-JIan
阅读(15)
评论(0)
推荐(0)