adplus-dvertising
frame-decoration

Question

What is the definition of a class in programming language?

a.

A set of attributes that an object has

b.

An individual object of a class

c.

The way in which an object acts upon other objects

d.

A collection of objects that operate together

Answer: (a).A set of attributes that an object has Explanation:At the programming-language level, objects that have the same set of attributes are said to belong to the same class.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the definition of a class in programming language?