# 원기둥 클래스 정의하기 #### CODE <a class='btn btn-default' href='/codes/87172'>Link</a> ``` public class CylinderTest { public static void main(String[] args) { // 객체 생성 Cylinder c = new Cylinder(); // 속성 값 입력 c.radius = 4; c.height = 5; // 출력 System.out.printf("원기둥의 부피: %.2f\n", c.getVolume()); System.out.printf("원기둥의 겉넓이: %.2f\n", c.getArea()); } } class Cylinder { /* 필드와 메소드를 구현하시오. */ } ``` #### INPUT ``` ``` #### OUPUT ``` /root/var/tmp/2023_03_01_23_43_16_c904217e/CylinderTest.java:7: error: cannot find symbol c.radius = 4; ^ symbol: variable radius location: variable c of type Cylinder /root/var/tmp/2023_03_01_23_43_16_c904217e/CylinderTest.java:8: error: cannot find symbol c.height = 5; ^ symbol: variable height location: variable c of type Cylinder /root/var/tmp/2023_03_01_23_43_16_c904217e/CylinderTest.java:11: error: cannot find symbol System.out.printf("원기둥의 부피: %.2f\n", c.getVolume()); ^ symbol: method getVolume() location: variable c of type Cylinder /root/var/tmp/2023_03_01_23_43_16_c904217e/CylinderTest.java:12: error: cannot find symbol System.out.printf("원기둥의 겉넓이: %.2f\n", c.getArea()); ^ symbol: method getArea() location: variable c of type Cylinder 4 errors ``` 문제 관련한 질문은 아닙니다 여기 나와 있는 연습 문제 수준이 궁금해서요. 완전 기초적인 문제들로 구성되어있나요?
해당 문제들은 대학교 1학년 프로그래밍 입문자 수준에 맞춰 제작되었습니다