1.

What is the difference between class variable or instance variable in cimp.

Answer»

Class) VARIABLES and instance variables both are member variables because they are both ASSOCIATED with a specific class, but the DIFFERENCE between them is Class variables only have one copy that is shared by all the different OBJECTS of a class, WHEREAS every object has it's own personal copy of an instance ... .



Discussion

No Comment Found