// Object-oriented programming

Object-oriented programming Quiz

// question 1 of 10
What is operator overloading?
// question 2 of 10
What is the single responsibility principle?
// question 3 of 10
What is a data class in Python?
// question 4 of 10
What is the correct way to check if an object is an instance of multiple classes?
// question 5 of 10
What does setattr(obj, 'name', value) do?
// question 6 of 10
What happens when you assign a value to a class attribute through an instance?
// question 7 of 10
What is the output of Animal.count when count is a class attribute set to zero?
// question 8 of 10
What happens if you forget to write self.name equals name in __init__?
// question 9 of 10
What is an instance attribute?
// question 10 of 10
What is method overriding?