public class Person extends Object
| Constructor and Description |
|---|
Person(String name,
long birthday,
char gender) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAge()
Note: Not accurate, but only used as an example.
|
long |
getBirthday() |
char |
getGender() |
String |
getName() |
String |
toString() |
public Person(String name, long birthday, char gender)
public String getName()
public long getBirthday()
public char getGender()
public int getAge()
Copyright © 2015. All rights reserved.