class Area {
int width;
int length;
int area;
public Area(int width, int length) {
this.width - width;
this.length = length;
حم
}
class Output {
public static void main(String args[])
{
Area obj - new Area(5, 6);
System.out.println(obj. length +
+ obj.width);
}
}
Answers
Answered by
0
Answer:
10. What is the output of this program?classarea {intwidth;intlength;intarea;voidarea(intwidth,intlength) {this.width = width;this.length = length;}}classOutput {
Similar questions