Last active
December 17, 2015 03:18
-
-
Save CN-Maxye/5541781 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Demo { | |
private String name; | |
private String sex; | |
private Integer age; | |
private Double height; | |
public String getName(){ | |
return this.name; | |
} | |
public void setName(String name){ | |
this.name=name; | |
} | |
public String getSex(){ | |
return this.sex; | |
} | |
public void setSex(String sex){ | |
this.sex=sex; | |
} | |
public Integer getAge(){ | |
return this.age; | |
} | |
public void setAge(Integer age){ | |
this.age=age; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment