To print area of rectangle

18/03/2013 08:28

 

public class areaofrectangle
{
 public static void main(String args[])
 {
 int length=5;
 int breadth=9;
 int area=length*breadth;
 System.out.println("area of rectangle is"+" "+area);
}
}