반응형 Split1 [2023년도 3회] 정보처리기사 정처기 | 실기 기출 | 회차별 정리 ⭕ [2023년도 3회] 정보처리기사 정처기 | 실기 기출 | 회차별 정리➡️ 1. [JAVA 코드] 알맞은 출력 값을 작성하시오.public class Main { public static void main(String[] args) { Parent childInstance = new Child(); childInstance.paint(); childInstance.draw(); }}class Parent { public void paint() { System.out.print("A"); draw(); } public void draw() { System.out.print("B"); draw(); }}class Child extends Parent { .. 2024. 1. 7. 이전 1 다음 반응형