first commit
This commit is contained in:
23
Semester 1/Programming 1/Homework 4/Friend.ctxt
Normal file
23
Semester 1/Programming 1/Homework 4/Friend.ctxt
Normal file
@@ -0,0 +1,23 @@
|
||||
#BlueJ class context
|
||||
comment0.params=name\ money
|
||||
comment0.target=Friend(java.lang.String,\ double)
|
||||
comment0.text=\n\ Constructor\ for\ objects\ of\ class\ Friend\n
|
||||
comment1.params=
|
||||
comment1.target=Friend()
|
||||
comment1.text=\n\ Default\ constructor\ for\ objects\ of\ class\ Friend.\n
|
||||
comment2.params=
|
||||
comment2.target=java.lang.String\ getName()
|
||||
comment2.text=\n\ Returns\ the\ name\ of\ the\ friend.\n
|
||||
comment3.params=
|
||||
comment3.target=double\ getMoney()
|
||||
comment3.text=\n\ Returns\ the\ balance\ in\ their\ account.\n
|
||||
comment4.params=name
|
||||
comment4.target=void\ setName(java.lang.String)
|
||||
comment4.text=\n\ Sets\ the\ name\ of\ the\ friend\ to\ a\ new\ value.\n
|
||||
comment5.params=money
|
||||
comment5.target=void\ setMoney(double)
|
||||
comment5.text=\n\ Sets\ the\ balance\ of\ the\ friend\ to\ a\ new\ value.\n
|
||||
comment6.params=
|
||||
comment6.target=java.lang.String\ toString()
|
||||
comment6.text=\n\ Returns\ the\ current\ state\ of\ the\ field\ variables\ as\ a\ string,\ with\ newlines\ after\ each.\n
|
||||
numComments=7
|
Reference in New Issue
Block a user