Home / Questions / Give one example each of a primitive data type and a composite data type.
Explanatory Question

Give one example each of a primitive data type and a composite data type.

👁 89 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

  • Example of a primitive data type: int
    Example of a composite data type: ArrayList