Q-081
class CD{ int r; CD(int r){ this.r=r; } } class DVD extends CD{ int c; DVD(int r, int c){ //line n1 } } And given the code fragment: DVD dvd=new DVD(10,20); which code fragment should you use at line n1 to instantiate the dvd object successfully? A. super.r=r; this.c=c; B. super(r); this(c); C. super(r); this.c=c; D. this.c=r; super(c); Ans: C
Q-082
Q-083
Q-084
Q-085
Q-086
Q-087
Q-088
Q-089
Q-090