Question: public class DS1203 {public static void main (String() args) {circusPerformer ivan = new circusPerformer ();}} interface CircusPerformer {public String getperformer (); public void act ();
public class DS1203 {public static void main (String() args) {circusPerformer ivan = new circusPerformer ();}} interface CircusPerformer {public String getperformer (); public void act (); public void entrance (); public void performance (); public void exit ();} Which of the following are reason(s) why the program does not compile? I. CircusPerformer is abstract and cannot be used to instantiate an object. II. The CircusPerformer interface is not implemented by the required classes. III. There is no constructor defined in interface CircusPerformer. (A) I only (B) II only (C) III only (D) I and II only (E) I, II and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
