1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. Which of the following is true?
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)
Answer» D. Static methods can only access static members (data and methods)
View all MCQs in:   CPP Programming

Discussion