Multiple Choice
Variables should be declared as fields only if ________.
A) they are local variables
B) they are used only within a method
C) they are required for use in more than one method or their values must be saved between calls to the class's methods
D) they are arguments
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following statements is false?<br>A)
Q3: Which is a correct static method call
Q4: Declaring main as static allows the JVM
Q5: A well-designed method _.<br>A) performs multiple unrelated
Q6: Which operator can be used in string
Q7: An overloaded method is one that _.<br>A)
Q8: Stacks are known as _ data structures.<br>A)
Q9: Method calls cannot be distinguished by _.<br>A)
Q10: A set of named constants that start
Q11: Consider the following Java statements: <br>int x