Question: QUESTION 21 Look at the following code and determine what the call to super will do. public class ClassB extends Classa public ClassB () super
QUESTION 21 Look at the following code and determine what the call to super will do. public class ClassB extends Classa public ClassB () super (10): 0 It will call the constructor of Class A that rocoves an integer as an argument. 0 It will call the method named super and pass the value 10 to it as an argument. O The method super will have to be defined before we can say what will happen. O This cannot be determined form the code shown. QUESTION 22 An anonymous inner class must: O implement an interface O extend another class O either implement an interface or extend another class O both implement an interface and extend another class QUESTION 23 In GulI terminology, a container that can be displayed as a window is known as a: O message dialog O Swing package O frame O buffer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
