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...

A(n) ___________ is a specialized facility designed to hold and protect computer systems and data.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A(n) ____________, or GUI, allows the user to interact with the operating system and application programs through graphical elements on the screen.

a. general-purpose interface b. graphical user interface c. generic unified interface d. graphics utility interface

Computer Science & Information Technology