History, asked by anandpatel9172, 1 year ago

Which came first the instance or the class?

Answers

Answered by Arslankincsem
0

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.

Answered by lovingheart
0

The concept of class came first and the instance came after creating the class.

Explanation:

  • Both class and instance are the major elements of the programming language.  
  • These elements are used in all kinds of programming languages where the entire execution of the program is made to be run.
  • A class is an entity which describes the behavior of an object.  
  • A class is used to create an instance in a programming language which specifies the specific occurrence of any object.

TO KNOW MORE:

Proper definition of class and object in java

https://brainly.in/question/8731188

Similar questions