πŸ“Š Python
Q. Which of the following is NOT true about class methods?
  • (A) They are bound to the class.
  • (B) They require a `cls` parameter.
  • (C) They can modify class state.
  • (D) They can modify instance state directly.
πŸ’¬ Discuss
βœ… Correct Answer: (D) They can modify instance state directly.

Explanation: Class methods modify class-level data, not instance-level state.

Explanation by: Mr. Dubey
Class methods modify class-level data, not instance-level state.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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