class box
{
int height;
int weight;
box( int a, int b)
{
height=a;
weight=b;
System.out.println(height);
System.out.println(weight);
}
}
class Box2
{
public static void main(String args[])
{
Box2 b2=new box();
}
}
Responses to “What will be the ouput of the following program?”