+ 1
Composite, the word itself means that it is a combination or a mixture. The composite data types could be arrays, lists etc. in Java. On the other hand, user defined data types in general are classes and interfaces in Java which we create according to our convenience.
12th Mar 2020, 10:50 AM
Avinesh
Avinesh - avatar
+ 3
Composite data types are derived from primitive data types. For example arrays. On the other hand User defined data types are those that user / programmer himself defines. For example, classes, interfaces.
12th Mar 2020, 10:45 AM
Arsenic
Arsenic - avatar
+ 2
â„•đ•šđ•đ•–đ•€đ•™ đ•‚đ•’đ•Ÿđ•„đ•š[#Happy Coding😄] In java programming user defined datatype can be developed by using the features of classes and interfaces. Whereas in other languages like In C/C++ , user defined data types can be developed by using struct, union, enum etc.
12th Mar 2020, 11:01 AM
Arsenic
Arsenic - avatar