//创建一个Student类public class Student { //属性:字段 int age; String name; //方法 public void say(){ System.out.println(this.name+"我不想卷了"); } } public class aplication { public static void main(String[] args) {
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有