Files
G4G0-1/Semester 1/Programming 1/Java/examples/projects/chapter09/bricks/Brick.ctxt
2024-01-15 20:14:10 +00:00

18 lines
838 B
Plaintext
Executable File

#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