class Square
{
int height;
int width;
Square(int height, int width)
{
this.height = height;
this.width = width;
}
}
class ImplSquare
{
public static void main(String args[])
{
Square sObj = new Square(4,6);
System.out.println("Variable values of object : "); System.out.println("Object height = " + sObj.height); System.out.println("Object width = " + sObj.width); }
}