answersLogoWhite

0

A class is known as a composite data type because it binds both member variable and functions as a single identity.

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What is composite data type in c?

Composite datatypes are the datatypes which can be constructed with in a program by using prmitive datatypes and other composite types.the act of constructing a composite data type is called composition..............


What are the Exception being the part composite data types?

Well, honey, the exception to being a part of composite data types is being a standalone data type. In simpler terms, if you're not part of a group, you're not a composite data type. It's like being the lone wolf in a pack of wolves - you stand out, whether you like it or not.


In java difference between classes and object in tabluar form?

A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.


Is button a data type in Java?

In Java, just about anything is defined as a class; a class is a data type, so yes.


Why cannot initialize data member within class?

A class is a type. Classes don't do anything except define the type. You have to instantiate an object of the type in order to actually do anything, including initialising data members. However, the class can define how a data member is initialised. The most efficient method of initialising class members if via the class constructor initialisation list.

Related Questions

What is composite data type in c?

Composite datatypes are the datatypes which can be constructed with in a program by using prmitive datatypes and other composite types.the act of constructing a composite data type is called composition..............


What are the Exception being the part composite data types?

Well, honey, the exception to being a part of composite data types is being a standalone data type. In simpler terms, if you're not part of a group, you're not a composite data type. It's like being the lone wolf in a pack of wolves - you stand out, whether you like it or not.


In java difference between classes and object in tabluar form?

A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.A class is a template to create objects. You define the general behavior of a new data type in a class; then you create objects as specific variables of the new type. In other words, you can consider the class as a data type.


Is button a data type in Java?

In Java, just about anything is defined as a class; a class is a data type, so yes.


What type of volcano is Eyjafjallajökull in iceland?

It is a composite type, also known as the stratovolcano type.


What is composite data type in plsql?

Composite types have internal components that can be manipulated individually, such as the elements of an array, record, or table.Oracle TimesTen In-Memory supports the following composite data types:Associative array (index-by table)Nested tableVarrayRecord


What is primitive and composite data types in DBMS?

a composite data type is any data type which can be constructed in a program using its programming language's primitive data types and other composite types. The act of constructing a composite type is known as composition.


Which are NOT a distinguishing characteristic of class as a data type?

Test


What is data type of class in oops?

user defined


Why cannot initialize data member within class?

A class is a type. Classes don't do anything except define the type. You have to instantiate an object of the type in order to actually do anything, including initialising data members. However, the class can define how a data member is initialised. The most efficient method of initialising class members if via the class constructor initialisation list.


What is meant by class in java?

class is an important element of an oop. class is a user defind data type.


What is the difference between a class and a function in C plus plus?

You cannot point at a class, you can only point at an instance of a class, which is simply another term for an object. The class is essentially the object's type; it define's the object's behaviour, but is not the object in and of itself. The class also defines a pointer's type, so we can point at instances of a class and access the the object it represents through indirection.