first commit
This commit is contained in:
17
Semester 1/Programming 1/Java/examples/people/Person.ctxt
Normal file
17
Semester 1/Programming 1/Java/examples/people/Person.ctxt
Normal file
@@ -0,0 +1,17 @@
|
||||
#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
|
Reference in New Issue
Block a user