Suppose an array has n elements. We visit element #1 one time, element #2 two times, element #3 three times, and so forth. How many total visits will there be? n³ n(n+1)/2 O n² 2 2n Question 24 Suppose you create a class Square to be a subclass of GeometricObject. Analyze the following code: class Square extends GeometricObject { double length; Square (double length) { } GeometricObject (length); O The program compiles fine, but it has a runtime error because of invoking the Square class's constructor illegally, The program compiles fine, but you cannot create an instance of Square because the constructor does not specify the length of the Square. 0 MacBook Pro 1 pts r+)