Multiple Choice
Where can local variables declared within a method's body be used?
A) Only in that method between the line in which they were declared and the closing brace of that method.
B) Same as (a) , but not within while or if statements.
C) Only within while or if statements within the method in which they were declared.
D) Anywhere within the class.
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Which statement is true?<br>A) Dividing two integers
Q3: Which of the following statements is true?<br>A)
Q4: What is output by the following Java
Q5: Which of the following statements is false?<br>A)
Q6: What does the expression x %= 10
Q7: What is the result value of c
Q8: Which statement is false?<br>A) Unless directed otherwise,
Q9: A decision symbol in an activity diagram
Q10: Counter-controlled iteration is also known as:<br>A) Definite
Q11: Which of the following operators associates from