Methods and properties can also be accessed without the use of an object. To do this, the methods/properties must be declared static. Static methods/properties of a class can then be accessed directly with the help of the Class properties and class methods by using the double colon also know as the Scope resolution operator.
Task 8: B
A static property or method can be accessed by coding the self keyword, followed by a double colon and the property or method name.
Task 8: C
Create Questions for Student: Total number of questions created: 4 Student answers begin: What is 2*2 ? = 10 Current Success rate for student: 0% What is 2*3 ? = 8 Current Success rate for student: 0% What is 2*4 ? = 6 Current Success rate for student: 0% What is 2*5 ? = 4 Current Success rate for student: 0% Total amount of correct answers from student: 0 out of 4 By using the Static method and properties you can view the overall status of an object with out having to recalculate all of the stats to see how a student is currently doing.