
1. 다음 클래스에 대한 물음에 답하라. (1) A objA = new objA(); 에 의해 생성되는 객체 objA의 멤버들을 모두 나열하라. 답 : private int a; public void set(int a) { this.a=a; } (2) B objB = new objB(): 에 의해 생성되는 객체 objB의 멤버들을 모두 나열하라. 답 : private int a; public void set(int a) { this.a=a; } protected int b,c; (3) C objC = new objC(); 에 의해 생성되는 객체 objC의 멤버들을 모두 나열하라. 답 : private int a; public void set(int a) { this.a=a; } protected int ..