in Education by
what is mutable and immutable data type give two example of each Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Hey mate! I am here with your answer! Simple put, a mutable object can be changed after it is created, and an immutable object can’t. Objects of built-in types like (int, float, bool, str, tuple, unicode) are immutable. Objects of built-in types like (list, set, dict) are mutable. Custom classes are generally mutable. Hope this will help you!

Related questions

0 votes
    Answer the following questions: 1. What is data type? Give an example. 2. What is the difference between 19/6 & 19/60. ... a++ & a+ =1. Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    What are data types? Give examples of two data types in SQL / MySQL. Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Give reason Arain is creating a database be wants to add a field of address what should be it’s data type Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Give one example of Not Equals assignment operator.plz tell fast and correct Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    What is Dual party system? Give example Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    What are lyophilic and lyophobic sols?Give one example of each type ? Why is hydrophobic sol easily coagulated ? Select the correct answer from above options...
asked Jan 3, 2022 in Education by JackTerrance
0 votes
    What are emulsions ? What are their different types ? Give an example of each type ? Select the correct answer from above options...
asked Jan 3, 2022 in Education by JackTerrance
0 votes
    Give at least two to three differences between rint() and round() in Java… Please give the answer in points.. Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
     In recent years India has paid adequate attention to ASEAN'. Give two points to justify the statement. OR Explain ... the Han River'. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    American involvement in South Asia has rapidly increased after the Cold War. Give two examples to illustrate. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    The first general election was postponed twice. Give two reasons for the same. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Computer A has 32 32-bit registers, while Computer B has 16 64-bit registers. Give two advantages that Computer A ... over Computer B.? Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    The structure of a table Employee is given below. Suggest suitable data type and size of each column. Column name ... _ Design _ _ Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    . Accept 8 digit number. Separate 8 digits into 4 parts. Display appropriate message in case of number with less ... again as abcd Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
...