빈칸 키워드를 작성하시오.
class Rectangle {
int width, height;
Rectangle(int width, int height) {
this.width = width;
this.height = height;
}
}
class Square extends Rectangle {
Square(int a) {
____(a, a); // ← 빈칸
}
int getSquareArea() {
return width * height;
}
}이 문제는 풀이 화면에서 직접 실행해 풀 수 있어요.
꿈라CBT