Consider the following code segment and two classes.
Mambo m = new Mambo();
Rumba r = new Rumba();
public class Rumba
public Rumba()
System.out.println("Executing the Rumba constructor");
public class Mambo extends Rumba
public Mambo()
/* missing code */
The program output is expected to display the following:
Executing the Rumba constructor
Executing the Mambo constructor
Executing the Rumba constructor
Which of the following can be used to replace /* missing code */ in constructor Mambo so that the desired output is achieved?
I. Rumba.super();
System.out.println("Executing the Mambo constructor");
II. System.out.println("Executing the Mambo constructor");
III. super();
System.out.println("Executing the Mambo constructor");
1) I. Rumba.super();
System.out.println("Executing the Mambo constructor");
2) II. System.out.println("Executing the Mambo constructor");
3) III. super();
System.out.println("Executing the Mambo constructor");