Answer the following JAVA questions
0. Which of the following statements is false A) A java class can implement more than one interface AJava class can implement an interface and extend a class simultaneously A java class can extend more than one class D) A Java class can extend a class that already etends another class means that a single reference variable can be used with different types of related objects at differont times. A) Inhenitance )Polymorphism 12. If you do not initialize an instance variable in a constructor, it is automatically set to a default value. Which of these is NOT correct? A Strngs are set to". B) Object and array references are set to nul C) Boolean variables are set to false Di Numbers are set to zero 3 In order to allow a Gl-based program to respond to individual keystrokes, you would add aln) to your program A) KeyLayout manager B) Exception handler C) KeyListener D) Actionlistener 14. Which of these is a poor example of inheritance? C) Quiz extends Question A) Child extends Parent B) Manager extends Employee D SavingsAccount eotends Account 15. A Timer object gonerates at regular intervals A) ActionEvents B) RuntimeExceptions D) KeyEvents 6 Which of the following is NOT true about abstract classes? A) An abstract class is a plaoeholder in a class hierarchy B) An abstract class cannot be instantiated C) The abstract modfer must be applied to each abstract method in an abstract class D) An abstract class must contain only abstract methods 17. The nstruction super( A) The method super as defined in the current class B) The method super as defined in the current class' parent class C) The constructor in the current class D) The constructor in the current class' parent class calls which of the Olowing? 8 Which one of these is NOT true of Object? A) Root of the class hierarchyC B) Has an equals method Has a print method D) Has a toString method 19 JOptionPane is a class that provides GU A) panels and frames B dialog boxes C) butons D) check boxes 20 Which of these is NOT true about inheritance? A) Methods of the parent class are inherited E) Thechid class can override methods ofth part dats CAll constructors of the parent class are caled automatically D) protected variables of the parent class can be accessed in the child class