Computer Applications
Differentiate between primitive type and composite type data
Java Library Classes
1 Like
Answer
| Primitive Data Types | Composite Data Types |
|---|---|
| Primitive Data Types are Java's fundamental data types | Composite Data Types are created by using Primitive Data Types |
| Primitive Data Types are built-in data types defined by Java language specification | Composite Data Types are defined by the programmer |
| Examples of Primitive Data Types are byte, short, int, long, float, double, char, boolean | Examples of Composite Data Types are Class and Array |
Answered By
2 Likes
Related Questions
Write a program in Java to display the following pattern:
ABCDE
ABC
AWrite a program in Java to display the following pattern:
PRTV
PRT
PR
PWrite a program in Java to display the following pattern:
A*B*C*D*E*
A*B*C*D*
A*B*C*
A*B*
A*Write a program in Java to display the following pattern:
a a a a a
b b b b b
A A A A A
B B B B B