qobjects = [
{
question: "What is the correct keyword to use inside an empty class, to avoid getting an error?",
options: [
"empty",
"inherit",
"pass"
],
correct: 2
},
{
fillintheblanks: "exercise_inheritance1.htm"
},
{
fillintheblanks: "exercise_inheritance2.htm"
},
{
question: "How do you create a child class that inherits from a parent class?",
options: [
"class Child extends Parent:",
"class Child(Parent):",
"class Child inherits Parent:"
],
correct: 1
},
{
question: "Which function allows a child class to inherit all methods and properties from its parent without using the parent's name?",
options: [
"parent()",
"inherit()",
"super()"
],
correct: 2
}
]