1. The output of the following code is 0.
2. The output of the following code is 0.
3. Read the following excerpt and select the correct answer.
4. The value of grade when the following code executes and score is 80, will be 'D'.
5. Read the following excerpt and select the correct answer.
6. If x, in the following code, has been set to 250, what is printed?
7. True or false: 'case 1' will print if x is less than 3 or y is greater than 2.
8. What does the following code print?
9. How many times does the following method print a *?
10. Given the below, Which of the following statements will create an Event object that represents an event that
has three people at it?
11. Which index is the last element in an array called nums at?
12. Which of the following declarations will cause a compile time error?
13. It is sometimes necessary to decide whether to use an ArrayList or an array. Is the following statement true or false?
14. How many columns does a have if it is created as follows
15. Which one of the following has the following main function or purpose: A _____________initializes the fields in the object.
16. Overloading occurs when two methods perform the same essential operation, but take _____________.
17. Which line has the recursive call?
18. Which line has the recursive call?
19. Which of these will occur if the recursive method does not have a base case?