first commit
This commit is contained in:
17
Semester 1/Programming 1/Java/examples/projects/chapter09/bricks/Brick.ctxt
Executable file
17
Semester 1/Programming 1/Java/examples/projects/chapter09/bricks/Brick.ctxt
Executable file
@@ -0,0 +1,17 @@
|
||||
#BlueJ class context
|
||||
comment0.params=height\ width\ depth
|
||||
comment0.target=Brick(int,\ int,\ int)
|
||||
comment0.text=\n\ Create\ a\ Brick\ given\ edge\ lengths\ in\ centimeters.\n\ @param\ height\ The\ brick's\ height.\n\ @param\ width\ The\ brick's\ width.\n\ @param\ depth\ The\ brick's\ depth.\n
|
||||
comment1.params=
|
||||
comment1.target=double\ getSurfaceArea()
|
||||
comment1.text=\n\ @return\ The\ surface\ area\ of\ this\ brick\ in\ square\ centimeters.\n
|
||||
comment2.params=
|
||||
comment2.target=double\ getWeight()
|
||||
comment2.text=\n\ @return\ The\ weight\ of\ this\ brick\ in\ kg.\n
|
||||
comment3.params=
|
||||
comment3.target=int\ getVolume()
|
||||
comment3.text=\n\ @return\ The\ volume\ of\ this\ brick\ in\ cubic\ centimeters.\n
|
||||
comment4.params=
|
||||
comment4.target=double\ getHeight()
|
||||
comment4.text=\n\ @return\ The\ height\ of\ this\ brick\ in\ centimeters.\n
|
||||
numComments=5
|
||||
Reference in New Issue
Block a user