Define a class named Box that has three integer instance variables named length, breadth, and depth. Do not add any other attributes or methods inside the class.
For example:
Test
Input
Result
Box b = new Box(); ensuring an object can be created. System.out.println(b.length + " " + b.breadth + " " + b.depth);
0 0 0
Box b = new Box(); ensuring the instance variables are present. b.length = 4; b.breadth = 12; b.depth = 3; System.out.println(b.length + " " + b.breadth + " " + b.depth);