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

1. The constructor for class counter is automatically executed each time an object of type counter is declared.
2. All member functions of a class must be public
3. The terms "data members" and "attributes" of a class are interchangeable.
4. A state attribute of a class should be initialized prior to use.
5. There are at most 5 operations that can be performed on the object of a class.


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

Computer Science & Information Technology

You might also like to view...

ZIP files use what type of compression?

A) Lossless B) Lossy C) Ultra D) Passive

Computer Science & Information Technology

The ROUND function can round a number to the nearest whole number, which removes the decimal values from the number

Indicate whether the statement is true or false.

Computer Science & Information Technology

Tar is one of the most commonly used compression formats in Linux

Indicate whether the statement is true or false.

Computer Science & Information Technology

To get the height of the display screen, not including the Windows taskbar, use the ____ property.

A. height B. availHeight C. usableHeight D. totalHeight

Computer Science & Information Technology