Question: Which statement is true about static class members in C + + ? Static members can be accessed without creating an object of the class.

Which statement is true about static class members in C++?
Static members can be accessed without creating an object of the class.
Static members have a separate copy for each object of the class.
Static members can only be accessed through an object of the class.
Static members are automatically destroyed when an object of the class is destroyed.

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!