New course! Every coder should learn Generative AI!
Try a free lesson0
Difference between instance,object and class
3 Answers
+ 1
A class is a collection of statements and methods, and every object belongs to some object type; that is, it is an instance of some class.
0
You mean "Object is an instance of some class" ??
0
Exactly