Differentiate between primitive and composite data type
Answers
Primitive data types
Primitive types are the most basic data types available within the Java language. There are 8: boolean , byte , char , short , int , long , float and double . These types serve as the building blocks of data manipulation in Java. ... You can not define a new operation for such primitive types.
Composite data types
composite data type or compound data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types. It is sometimes called a structure or aggregate data type,[1] although the latter term may also refer to arrays, lists, etc. The act of constructing a composite type is known as composition.
Structure , Array, pointer ,double
are some examples of composite data type