Basics_Que_05

Home / Java Practice Question / Basics_Que_05

Basics_Que_05


WAP to take Length and Breadth of a Rectangle and Calculate area of rectangle....
Program :

public class Loop {
public static int rectArea(int h,int w){
return h*w;
}

}

.