M

Mr. Dubey • 52.26K Points
Coach

Q. 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)
Correct : Option (D)

Share

Discusssion

Login to discuss.

Be the first to start discuss.