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

15y 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..............


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 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.


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..............


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 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.


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?

Primitive datatypes are the basic units of a language; each primitive value contains a single datum (as opposed to an array of multiple items) and describes that datum literally. Primitive data is very straightforward. Primitive datatypes are, as their name suggests, simple. They can hold text messages, frame numbers, movie clip size values, and so on, but they don't readily accommodate higher levels of complexity. Examples: Number, string, boolean, undefined, and null. Composite data Types are complex data type. For more elaborate data handling -- such as simulating the physics of a dozen bouncing balls or managing a quiz with 500 questions and answers -- we turn to composite datatypes. Using composite data, we can manage multiple pieces of related data as a single datum. Whereas a single number is a primitive datum, a list (i.e., an array) of multiple numbers is a composite datum. Examples: Suppose we wanted to track the profile of a customer named Derek. We could create a series of variables that store Derek's attributes as primitive values


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.


Which is the wrapper class for the data type float?

The wrapper class for float is Float. java.lang.