// Object-oriented programming

Object-oriented programming Quiz

// question 1 of 10
What does a double underscore prefix on an attribute do?
// question 2 of 10
What is method overriding?
// question 3 of 10
What does __iter__ define?
// question 4 of 10
What does super() do?
// question 5 of 10
What keyword is used to define a class in Python?
// question 6 of 10
What is inheritance in OOP?
// question 7 of 10
What happens when you assign a value to a class attribute through an instance?
// question 8 of 10
What is an object in OOP?
// question 9 of 10
What happens if __str__ is not defined on a class?
// question 10 of 10
What does __str__ define?