Advertisements
Advertisements
Question
- Assertion(A): List is an immutable data type.
- Reasoning(R): When an attempt is made to update the value of an immutable variable, the old variable is destroyed and a new variable is created by the same name in memory.
Options
Both A and R are true and R is the correct explanation for A.
Both A and R are true and R is not the correct explanation for A.
A is True but R is False.
A is false but R is True.
MCQ
Solution
A is false but R is True.
shaalaa.com
Class 11 Revision
Is there an error in this question or solution?