Created
December 31, 2013 15:26
-
-
Save riteshmodi/8198346 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
| package org.resteasy.model; | |
| public class Person { | |
| private String name; | |
| private int age; | |
| public Person(){ | |
| this.name=""; | |
| this.age=0; | |
| } | |
| public Person(String name,int age){ | |
| this.name=name; | |
| this.age=age; | |
| } | |
| public String getName() { | |
| return name; | |
| } | |
| public int getAge() { | |
| return age; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment