Question: C++ questions QUESTION 1 Structs usually have: (a) Data members (b) Member functions (c) Setters (d) Getters QUESTION 2 Why are classes useful? (a) They

C++ questions

QUESTION 1 Structs usually have:

(a) Data members (b) Member functions (c) Setters (d) Getters

QUESTION 2 Why are classes useful?

(a) They allow us to create many instances of the same object. (b) They contain information directly related to an object. (c) They allow us to keep members hidden from users of the class. (d) All of the above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!