Respuesta :

No answer is correct because we can sort data type such as primitive types such as double and string we can not directly sort user-defined class but we need to implement < operator, or Comparable interface, for sorting user-defined classes so, we can sort double, string, user-defined class, etc..

What is Data Type in Programming?

In programming, a data type is a classification that specifies what type of value a variable has and what mathematical, relational, or logical operations can be performed on it without causing an error. A string, for example, is a data type used to categorize text, whereas an integer is a data type used to categorize whole numbers.

Examples of Data Type are -

  • Double
  • Int
  • String
  • Boolean
  • Char

To know more about Data Type, visit: https://brainly.com/question/179886

#SPJ4