Multiple Choice
Considering the event processing classes, what is the advantage of extending an adaptor class compared to implementing an interface?
A) Adaptors save the programmer from having to create a collection of empty-bodied methods
B) Adaptors save the programmer from having to create inner classes
C) Adaptors can be used even when interfaces cannot
D) Adaptors are more efficient at run time
E) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q6: What is printed?<br><br> public class Inherit<br> { <br><br> class Figure<br> {<br> void
Q7: A class reference can refer to any
Q8: What is printed by the following code?
Q9: Binary search can be used on unsorted
Q12: One of the advantages of linear search
Q13: Write a set of code that will
Q14: Write a set of code that will
Q16: Explain why an abstract method cannot be
Q26: Explain how to alter the Selection Sort
Q36: It is possible to sort an array