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.
a. Only in that method between the line in which they were declared and the closing brace of that method.
You might also like to view...
A solid red circle can be drawn using a shape of type _______.
a) Ellipse b) Circle c) Oval d) All of the above.
Which of the following is an antispyware program?
a. Gator b. RedSheriff c. Spy Sweeper d. NetBus
To move the active cell up one row, press ____.
A. Shift + Enter B. Ctrl + Tab C. Shift + Tab D. Ctrl + Enter
Which item in the figure above would you use to select an object by color?
A. 1 B. 2 C. 5 D. 7