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

1. Each object of a class has its own copy of all the instance variables of the class.
2. A Shared variable represents method-wide information.
3. Constructors that are Shared can be defined to initialize only Shared members.
4. A program contains a copy of a Shared variable for each object that is instantiated.
5. Variables that are Shared have class scope.


1. True.
2. False. A Shared variable represents class-wide information.
3. True.
4. False. A program contains only one copy of a Shared variable, no matter how many objects are instantiated.
5. True.

Computer Science & Information Technology

You might also like to view...

Because arrays are always passed ____________, a method that receives an array as an argument has access to the actual array.

a. by value b. globally c. in memory d. by reference

Computer Science & Information Technology

________ websites enable group collaboration and discussion on encyclopedia-like articles

A) Blog B) Microblog C) Wiki D) Bookmarking

Computer Science & Information Technology

=CONCATENATE(PROPER("adam")," ",PROPER("smith")) would return Adam Smith

Indicate whether the statement is true or false

Computer Science & Information Technology

The ____ VLAN uses a software database of MAC address-to-VLAN mappings that is created manually.

A. dynamic B. virtual C. static D. physical

Computer Science & Information Technology