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

1. The types int, float, double, and char are examples of data abstractions
2. Items declared in the public part of a class may only be accessed from within the class itself.
3. The declaration section of a class contains a description of the class' interface with other program components that use the class.
4. All class attributes must appear in the private segment of a class
5. Both the class and the struct define a data type that is a collection of related data elements which may be of different types.


1. True
2. False
3. True
4. False
5. True

Computer Science & Information Technology

You might also like to view...

Which statement below is false?

a. Structured programming produces programs that are easier to test. b. Structured programming requires four forms of control. c. Structured programming produces programs that are easier to modify d. Structured programming promotes simplicity.

Computer Science & Information Technology

What happens when you double-click an attachment field in a table?

A) A dialog box opens with options. B) The attachment is saved to a file. C) The attachment is removed. D) The attachment opens.

Computer Science & Information Technology

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

1. Photoshop uses a resampling method that assigns a new color value to pixels by taking a sample of the surrounding ones. 2. Before you resample, it is important to check with your lab or service bureau, as some services automatically resample and resize at the time of printing. 3. Photoshop can insert detailed information into a photo if need be, even if it was not captured from the original image. 4. Photos will start to look crisper, with more detail, as they are enlarged. 5. The submissions you make to service bureaus and labs are highly printer independent.

Computer Science & Information Technology

Some viruses are considered to be benign.

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

Computer Science & Information Technology