1.

Which came first the instance or the class?

Answer»

The concept of 'instance' and 'class' is COMMON in COMPUTER LANGUAGE or programming. It is a very common command in 'Python'.

However, it is safe to say that the class comes first and a class instance is created after CREATING the class itself.

Therefore, one could say that the instance is a PART of the class and comes after the class.



Discussion

No Comment Found

Related InterviewSolutions