If object of class are created, then the static data members can be accessed ____________

If object of class are created, then the static data members can be accessed ____________
A. Using dot operator
B. Using arrow operator
C. Using colon
D. Using dot or arrow operator
 
Answer: d
Explanation: The static data members can be accessed in usual way as other members are accessed using the objects. The dot operator is used generally. Arrow can be used with the pointers.
 

Tìm kiếm

Back
Top