Consider the following declarations: public interface Measurer { int measure(Object anObject); } public class StringLengthMeasurer implements Measurer { public int measure(_________________) { String str = (String) anObject; return str.length(); } } What parameter declaration can be used to complete the callback measure method? String aString Object aString Object anObject String anObject {Ans: Object anObject}Complete the following code snippet, which is intended to be a recursive method that will find the sum of all elements in an array of double values from the beginning of the array to index: // return the sum of all elements in arr[] public static double findSum(double arr[], int index) { if (index == 0) { _____________________ } else { return (arr[index] + findSum(arr, index - 1)); } } Assume that this method would be called using an existing array named myArray as follows: findSum(myArray,myArray.length - 1); return arr[index + 1]; return arr[1]; return arr[index - 1]; return arr[index]; {Ans: return arr[index];}What is a class called that represents the most general entity in an inheritance hierarchy? Default class. Superclass. Subclass. Inheritance class. {Ans: Superclass.}How large does n need to be so 0.3n2 is greater than 2.5n - 3? 9 5 7 3