Question: what is difference between class variable and instance variable?
Answer: Brief Difference Between Class Variable and Instance Variable: Instance variables have separate values for each instance of a class. Class variables maintain a single shared value for all instances of the class, even if no instance object of that class exists.