title: What is the difference between a composite data type and a data structure?
body: <p>I read that a character array in C is a composite data type because it is a sequence of characters, but then in Java a String is a class and Wikipedia says that a class is data structure, I am confused.</p>