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

1. You must use the private access specification for all data members of a class.
2. A private member function is useful for tasks that are internal to the class but it is not directly called by statements outside the class.
3. If you do not declare a destructor function, the compiler will furnish one automatically.
4. When an object is defined without an argument list for its constructor, the compiler automatically calls the object's default constructor.
5. Constructor functions are often used to allocate memory that will be needed by the object.


1. F
2. T
3. T
4. T
5. T

Computer Science & Information Technology

You might also like to view...

Office Odie writes up a formal request for a warrant to search the home of Arwe Theryet. He knows Arwe is guilty of something, but he's not sure what. The judge laughs hysterically and tells Odie to go away and leave him alone. What was wrong with Office Odie's request?

a. It lacked the particularity requirement that defines what is being sought. b. It did not define the exact place to be searched. c. It did not fulfil the requirement of probable cause. d. It did not specifiy a particular time and date for the search to take place.

Computer Science & Information Technology

The ________ function counts the number of cells in a range that meet a certain criteria

Fill in the blank(s) with correct word

Computer Science & Information Technology

In which type of attack does the attacker use a web application to send a malicious code to the end user?

a. SQL injection attack b. DOS attack c. Invalided input attack d. Cross-side scripting (XSS) attack

Computer Science & Information Technology

Themes include fonts, colors, graphics and effects.

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

Computer Science & Information Technology