<Li> A record (also called tuple or struct) is an aggregate data structure . A record is a value that contains other values, typically in fixed number and sequence and typically indexed by names . The elements of records are usually called fields or members . </Li> <Li> A union is a data structure that specifies which of a number of permitted primitive types may be stored in its instances, e.g. float or long integer . Contrast with a record, which could be defined to contain a float and an integer; whereas in a union, there is only one value at a time . Enough space is allocated to contain the widest member datatype . </Li> <Li> A tagged union (also called variant, variant record, discriminated union, or disjoint union) contains an additional field indicating its current type, for enhanced type safety . </Li> <Li> A class is a data structure that contains data fields, like a record, as well as various methods which operate on the contents of the record . In the context of object - oriented programming, records are known as plain old data structures to distinguish them from classes . </Li>

What is data structure how many type of data sturcture