Computer Science, asked by jayashree7774, 5 months ago

Which of the following is a user defined data type?

(A) class (B) float (C) int (D) object​

Answers

Answered by Anonymous
3

.the following is a user define data type ...class

Answered by GulabLachman
0

Class is a user-defined data type.

  • A class in object-oriented programming is a model for producing objects or instances.
  • It also caters to supplying initial data and implementing procedures such as member functions or methods that can interact with the data. It functions as an object's blueprint.
  • In order to encapsulate data and behaviour into a single unit, classes define the structure and behaviour of objects.
  • Through the creation of classes, a user can develop object-oriented programmes.
  • A data type known as a class only allows certain processes to access its data. These procedures govern how a class instance or an object is created, accessed, and then removed when it is no longer required.

#SPJ3

Similar questions