MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / Box

Method Box

Programs/ThisPointerImplicit.java:5–9  ·  view source on GitHub ↗
(int l, int b, int h)

Source from the content-addressed store, hash-verified

3class Box {
4 int l, h, b;
5 Box(int l, int b, int h) {
6 this.l = l;
7 this.b = b;
8 this.h = h;
9 }
10 int vol() {
11 return l * b * h;
12 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected