(Apr-07-2017, 05:34 PM)nilamo Wrote: 1) None of the answers are appropriate.Well, one of them makes more sense than the others, especially if you forgive the poorly-worded question (it's not the classes you want to encapsulate, the classes are the tool for doing the encapsulation).
(Apr-07-2017, 05:34 PM)nilamo Wrote: All of those answers assume private/protected/public accessors, which don't exist in python.Sure, but you could (try) to use it as a comparison of Python vs. C++. Though there's more nuance to it than the multi-choice suggests.
(Apr-07-2017, 05:34 PM)nilamo Wrote: 2-the rest) These are simple definitions, which can easily be looked up.(EDIT: This is the first time I've been bit by unicode stuff on this site; I tried to do a thumbs up.)