answersLogoWhite

0

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

User Avatar

Himmat Paliwal

Lvl 2
10mo ago

What else can I help you with?

Related Questions

What are three types of dbms?

Hierarchical DBMSNetwork DBMSRelational DBMS


Variables as object in java?

There are two main categories of variables in Java. They are primitive and non primitive. Primitive data types are the basic data types like int, float, char etc. These are not objects. The other non primitive data types are all types of Java Objects. Example: String, ArrayList etc.


Is array a primitive data structure?

No, it's not. But it can be based on primitive data types (int, char, long, double and so on).


What is data dependency in DBMS?

Data dependency in DBMS refers to the relationship between different data elements within a database. There are three main types: functional dependency (one attribute determines another), partial dependency (part of a composite key determines other attributes), and transitive dependency (dependency between non-key attributes). Understanding data dependencies is crucial for database normalization and maintaining data integrity.


How many simple data types are there?

There are a total of 8 simple or primitive data types in Java. They are:byteshortintfloatdoublebooleanlong andString


Functions of primitive data types?

defines the value of a cell


What primitive data types can normally be represented and processed by a CPU?

The primitive data types that can normally be represented and processed by a CPU are an integer, real number, character, Boolean, and memory address


What are primitive variables?

Primitive variables are variables that are not objects and carry primitive values like numbers, boolean etc. The primitive data types in java are:intbytefloatcharlongbooleanshortdouble


What is the use of dbms?

DataBase Management System (DBMS)is a software package# it allows data to be effectively stored, retrieved and manipulatedand # the data stored in a DBMS packege can be accessed by multiple users and by multiple application programs like (SQL Server, Oracle, Ms-Access) .Types of DBMS# Hierarachical DBMS (HDBMS)# Network DBMS (NDBMS)# Relational DBMS (RDBMS)# Object Oriented DataBase(OODB)# Distributed DBMS (DDBMS)


What is different between primitive date type and non primitive data type in c plus plus programming language?

A primitive data type is built into the language - int, char, long, etc. A non-primitive data type is am abstract data type that is built out of primitive data types - linked list, queue, stack, etc.


What does an DBMS do?

DBMS is database management system and it stores data that are related. DBMS maintains data security and integrity as well.


Why are there both primitive and object versions of integers doubles floats characters and booleans?

Primitive data types like int, float etc are available for us to perform primitive data type operations like addition, subtraction, comparison etc. But since Java is an object oriented language, there are many features in java where such primate data types cannot be used. Only objects can be used. So for using the features of such data types there also we have wrapper classes that would create objects for these primitive data types.