Computer Science, asked by jahnavijahnavi, 3 months ago

difference between instance variable and class variable​

Answers

Answered by jainbhavna400
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