Q. What will happen if you assign a value to an existing key?

  • (A) It creates a duplicate key
  • (B) It updates the value
  • (C) It throws an error
  • (D) It deletes the key
πŸ’¬ Discuss
βœ… Correct Answer: (B) It updates the value
Explanation: Assigning a value to an existing key updates the value.
Explanation by: Mr. Dubey
Assigning a value to an existing key updates the value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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