Computer Science, asked by yashgahlot7365, 1 year ago

Primitive and composite data types in java

Answers

Answered by janvi47
13
Primitive types are the most basic data typesavailable 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. Such types serve only one purpose — containing pure, simple values of a kind.


In computer science, a 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 typesand other composite types. ... The act of constructing a composite type is known as composition.

Answered by jkutz
4

primitive data types : int char float double long short byte boolean.

Similar questions