Question: Often we have a choice on how we store data ( e . g . in a dictionary, a tuple, or a userdefined class )
Often we have a choice on how we store data eg in a dictionary, a tuple, or a userdefined class Which of the following is NOT an advantage of using a class?
All of the functions related to the data are kept with the data.
The code is simpler.
A colleague can use the class without understanding the implementation details of the functions.
We don't need to remember the order of the instance variables every time we refer to them.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
