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)
πŸ’¬ Discuss
βœ… Correct Answer: (D) Static methods can only access static members (data and methods)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
83%
Success Rate