difference between instance variable and class variable
Answers
Answered by
1
Answer:
The main difference is the behavior concerning inheritance: class variables are shared between a class and all its subclasses, while class instance variables only belong to one specific class.
Similar questions