|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPerson
public class Person
Class that represents information about a person
Constructor Summary | |
---|---|
Person()
No-arg constructor. |
|
Person(int id,
String firstName,
String lastName,
Picture picture,
int age)
Constructor that takes the first name, last name, picture and age |
|
Person(String firstName,
String lastName)
Constructor that takes a person's first and last name |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Person()
public Person(String firstName, String lastName)
firstName
- the first name for this personlastName
- the last name for this personpublic Person(int id, String firstName, String lastName, Picture picture, int age)
firstName
- the first name for this personlastName
- the last name for this personpicture
- a picture of this personage
- the age of this person
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |