Computer Science, asked by cgkdf56, 1 year ago

Why is object called instance of a class?​

Answers

Answered by Soumok
55
An object is called the instance of a class because when we create objects of a class, each object possesses characteristics and defined within the clasd. Since an object indirectly represents a class, it is reffered to as an "instance of a class".

_________________________________
⊰᯽⊱┈──╌❊╌──┈⊰᯽⊱
Answered by Anonymous
5
  • Heya Mate Your answer is..!!

The creation of an instance is called instantiation. In class-based programming,objects are created from classes by subroutines called constructors, and destroyed by destructors. An object is a variable of a Class. Each object is associated with the data of type class with which it is created.

  • HOpe iT HelP YOu DEaR
Similar questions