Question: what is the difference between class and instance variables?
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.