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) |
Login to Continue
It will take less than 2 minutes