Computer Science, asked by adityagupta288328, 6 months ago

class is a collection of objects of the same type? true/false​

Answers

Answered by DipayanRoy420
1

Answer:

true

Explanation:

Class is a collection of objects. ... When you instantiate a class you create an object that looks and feels like other instances of the same class. The data associated with a class or object is stored in variables; the behavior associated with a class or object is implemented with methods.

Answered by qwcricket10
2

The statement given is true the class is the collection of similar objects.

  • When objects in the program are grouped together it's known as class.
  • In class the objects belonging are of the same type of data.
  • All the objects contained in the class are sharing unique features and characteristics.
  • Whenever a class is used it allows for the creation of a template for the object creation.
  • Here, the given statement is the correct one.
Similar questions