Computer Science, asked by aryanbhatt005, 6 months ago

every primitive data type has a class associated with it. What are these classes called and where is it present

Answers

Answered by uniqueanu1917
6

Answer:

In computer science, primitive data type is either of the following:[citation needed]

   a basic type is a data type provided by a programming language as a basic building block. Most languages allow more complicated composite types to be recursively constructed starting from basic types.

   a built-in type is a data type for which the programming language provides built-in support.

In most programming languages, all basic data types are built-in. In addition, many languages also provide a set of composite data types.

Depending on the language and its implementation, primitive data types may or may not have a one-to-one correspondence with objects in the computer's memory. However, one usually expects operations on basic primitive data types to be the fastest language constructs there are.[citation needed] Integer addition, for example, can be performed as a single machine instruction, and some processors offer specific instructions to process sequences of characters with a single instruction.[citation needed] In particular, the C standard mentions that "a 'plain' int object has the natural size suggested by the architecture of the execution environment."[citation needed] This means that int is likely to be 32 bits long on a 32-bit architecture. Basic primitive types are almost always value types.

Explanation:

Answered by Anonymous
2

Answer:

In computer science, a primitive is a fundamental data type that cannot be broken down into a more simple data type. For example, an integer is a primitive data type, while an array, which can store multiple data types,

Explanation:

Primitive data types - includes byte , short , int , long , float , double , boolean and char. Non-primitive data types - such as String, Arrays and Classes (you will learn more about these in a later chapter)

Similar questions