Output will be
class box 
{
int width;
int height;
int length;
}
class main
{
public static void main(String args[])
{
box obj = new box();
obj.width = 1;
obj.height = 2;
obj.length = 3;
int y = obj.width * obj.height * obj.length;
System.out.print(y);
}
}

Posted on by