Question: (11). A class header must contain___ a. an access modifier b. the keyword class c. the keyword static d. the keyword public (12). The concept

(11). A class header must contain___

a. an access modifier

b. the keyword class

c. the keyword static

d. the keyword public

(12). The concept of allowing a class's private data to be changed only by a class's own methods is known as___

a. structured logic

b. object orientation

c. information hiding

d. data masking

(13). When you declare a variable as in double salary;, you___

a. also must explicitly allocate memory for it

b. need not explicitly allocate memory for it

c. must explicitly allocate memory for it only if it is stored in a class

d. can declare it to use no memory

(14). If you use the default constructor,___

a. numeric fields are set to 0 (zero)

b. character fields are set to blank

c. boolean fields are set to true

d. object type fields are set to 0 (zero)

(15). A variable ceases to exist at the end of the ___ in which it is declared.

a. statement

b. block

c. class

d. program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!