Computer Science, asked by pragyakriti2, 6 months ago

what is the output of this program?
class area {
int width;
int length;
int area;
void area (int width, int length) {
this.width = width;
this.length = length;
}
}
class Output {
public static void main(String args []) {
area obj = new area();
System.out.println(obj.lenght + "" + obj.width);
}
} ​

Answers

Answered by Ekaansh11
1

Answer:

It is shows error

Explanation:

Write correct program

Similar questions