pring学习笔记(二)——入门
作者:互联网
一、入门
1、案例
1 public class Student { 2 3 String name; 4 5 public Student() { 6 System.out.println("student被创建"); 7 } 8 9 public String getName() { 10 return name; 11 } 12 13 public void setName(String name) { 14 this.name = name; 15 System.out.println("输入值 name = " + name); 16 } 17 18 }View Code
标签:String,pring,System,笔记,name,Student,out,public,入门 来源: https://www.cnblogs.com/originator/p/13619024.html