为了账号安全,请及时绑定邮箱和手机立即绑定

printPersonInfo是什么意思

printPersonInfo是什么意思

liuyukang 2015-09-18 09:47:44
package com.fanshe1.java;public class Testaaa{ private String name; private int age; private int height;  public Testaaa() {   } public Testaaa(String name) {  super();  this.name = name; } public Testaaa(String name, int age) {  super();  this.name = name;  this.age = age; } public Testaaa(String name, int age, int height) {  super();  this.name = name;  this.age = age;  this.height = height; } public String getName() {  return name; } public void setName(String name) {  this.name = name; }  public void printPersonInfo() {  System.out.println(name + "," + age + "," + height); }}这句话除了标题上的那个句子其他都能看懂。
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1882 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信