What is true about Object-Oriented Programming in Python? (Choose two.)
What is true about Object-Oriented Programming in Python? (Choose two.)
Encapsulation allows you to protect some data from uncontrolled access, which is a fundamental concept in Object-Oriented Programming (OOP) ensuring that the internal representation of an object is hidden from the outside. Inheritance defines the relationship between a superclass and a subclass, where a subclass inherits attributes and behaviors (methods) from the superclass.
C and D are correct.