摘要: package com.itheima; /* 学生类 */ public class student02 { //成员变量 private String name; private int age; public void setAge(int age) { this.age=age; // if 阅读全文
posted @ 2022-11-09 23:17 NiceTwocu 阅读(11) 评论(0) 推荐(0) 编辑
摘要: package com.itheima; /* 学生类 */ public class student01 { //成员变量 private String name;//给name设置private private int age; public void setAge(int a) {//设置se 阅读全文
posted @ 2022-11-09 23:06 NiceTwocu 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ![image](https://img2022.cnblogs.com/blog/2426413/202211/2426413-20221109205108375-2028610736.png) 阅读全文
posted @ 2022-11-09 20:51 NiceTwocu 阅读(5) 评论(0) 推荐(0) 编辑