Question: what is the difference between data type and data structures in java?
Answer: As data type already represents the type of value that can be stored so values can directly be assigned to the data type variables. On other hand in case of data structure the data is assigned to using some set of algorithms and operations like push, pop and so on.