Q. Is `object::staticMethod` a valid method reference?

  • (A) Yes
  • (B) No
  • (C) Only if the method is overloaded
  • (D) Only if the method is private
πŸ’¬ Discuss
βœ… Correct Answer: (B) No
Explanation: Static methods must be referenced by class name, not object name.
Explanation by: Mr. Dubey
Static methods must be referenced by class name, not object name.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate