Answer the following statements true (T) or false (F)

1) A static variable represents class-wide information.
2) A program contains a separate copy of a static variable for each object
that's instantiated.
3) Variables that are static have class scope.
4) Variables that are static have class scope.
5) Data members declared as readonly must be initialized in their
declaration.


1) T
2) F
3) T
4) F
5) F

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

a. The UML models a parameter of an operation by listing the parameter name, followed by a colon and the parameter value between the parentheses after the operation name. b. The UML indicates an operation’s return type by placing a colon and the return value after the parentheses following the operation name. c. UML class diagrams do not specify return types for operations that do not return values. d. Declaring instance variables public is known as data hiding or information hiding.

Computer Science & Information Technology

Documents can have only one author defined in the document properties

Indicate whether the statement is true or false

Computer Science & Information Technology

Some smartphones use ______ text, where you press one key on the keyboard or keypad for each letter in a word, and software on the phone suggests words you may want.

A. suggestive B. interpretive C. predictive D. presumptive

Computer Science & Information Technology

Mainframe computers were large cabinet-like machines that housed a central processing unit and memory and were used to process financial and statistical data.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology