C++ | Static Keyword | Question 3

Which of the following is true?
(A) Static methods cannot be overloaded.
(B) Static data members can only be accessed by static methods.
(C) Non-static data members can be accessed by static methods.
(D) Static methods can only access static members (data and methods)


Answer: (D)

Explanation:

Quiz of this Question



My Personal Notes arrow_drop_up