Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions

Question

2. What do you believe is at the root of the problem?

Answered: 1 week ago