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


c. they are required for use in more than one method or their values must be saved between calls to the class’s methods

Computer Science & Information Technology

You might also like to view...

The first word in a method name should be a(n) ____.

A. noun B. verb C. adjective D. adverb

Computer Science & Information Technology

The ___ keyword is used with the ALTER TABLE statement to rename a table.

A. RENAME B. MODIFY C. CHANGE D. REPLACE

Computer Science & Information Technology

Match each of the following terms to their meanings:I.CutII.CopyIII.PasteIV.Portrait orientationV.Landscape orientationA.Duplicates a selection from the original location and places a copy in the Office ClipboardB.Removes a selection from the original location and places it in the ClipboardC.Page that is wider than it is tallD.Page that is taller than it is wideE. Places a selection in the Clipboard into another location

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Where is a snapshot created?

A. Layers panel B. History panel C. Actions panel D. Toolbox

Computer Science & Information Technology