Question: What is the definition of abstraction as applied to object-oriented Python?

  1. Abstraction means that a different style of code can be used, since many details are already known to the program behind the scenes.
  2. Abstraction means the implementation is hidden from the user, and only the relevant data or information is shown.
  3. Abstraction means that the data and the functionality of a class are combined into one entity.
  4. Abstraction means that a class can inherit from more than one parent class.

Answer: The correct answer of the above question is Option B:Abstraction means the implementation is hidden from the user, and only the relevant data or information is shown.