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
1
Answer:
It is shows error
Explanation:
Write correct program
Similar questions