What is true about type in the object-oriented programming sense?
A . It is the bottommost type that any object can inherit from.
B. It is a built-in method that allows enumeration of composite objects
C. It is the topmost type that any class can inherit from
D. It is an object used to instantiate a class
Answer: C
Explanation:
In Python, type is the built-in metaclass that serves as the base class for all new-style classes. All new-style classes in Python, including built-in types like int and str, are instances of the type metaclass and inherit from it.
Latest PCPP-32-101 Dumps Valid Version with 45 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund