What is a class known as a composite data type.
siddhichoudhary79:
not understabd your question
Answers
Answered by
4
Answer:
- ᴀ ᴄʟᴀss ɪs ᴄᴏᴍᴘᴏsᴇᴅ ᴏғ ᴍᴇᴍʙᴇʀ ᴠᴀʀɪᴀʙʟᴇs ᴡʜɪᴄʜ ᴀʀᴇ ᴏғ ᴅɪғғᴇʀᴇɴᴛ ᴅᴀᴛᴀ ᴛʏᴘᴇs. ʜᴇɴᴄᴇ, ᴀ ᴄʟᴀss ᴄᴀɴ ʙᴇ ᴠɪᴇᴡᴇᴅ ᴀs ᴀ ᴄᴏᴍᴘᴏsɪᴛᴇ ᴅᴀᴛᴀ ᴛʏᴘᴇ.
ıтsнαρρyqυєєη03`
Answered by
1
Answer:
A composite data type is one which is composed with various primitive data type. A class define with various primitive data type such as int, double etc; So, it is known as a composite data type, and it's is used to create objects which hold similar type of values and behaviours (function).
Explanation:
It is helpful for you.
Similar questions