Files
G4G0-1/Semester 1/Programming 1/Java/examples/people/Person.ctxt
2024-01-15 20:14:10 +00:00

18 lines
751 B
Plaintext

#BlueJ class context
comment0.params=name\ yearOfBirth
comment0.target=Person(String,\ int)
comment0.text=\nCreate\ a\ person\ with\ given\ name\ and\ age.\n\n
comment1.params=newName
comment1.target=void\ setName(String)
comment1.text=\nSet\ a\ new\ name\ for\ this\ person.\n\n
comment2.target=String\ getName()
comment2.text=\nReturn\ the\ name\ of\ this\ person.\n\n
comment3.params=newYearOofBirth
comment3.target=void\ setYearOfBirth(int)
comment3.text=\nSet\ a\ new\ birth\ year\ for\ this\ person.\n\n
comment4.target=int\ getYearOfBirth()
comment4.text=\nReturn\ the\ birth\ year\ of\ this\ person.\n\n
comment5.target=String\ toString()
comment5.text=\nReturn\ a\ string\ representation\ of\ this\ object.\n\n
numComments=6