Thomas Mullaly

DevOps, Security and IT Leadership

Abstract Data Types (ADT) in Java

A data type is a set of values and operations that can be preformed on thoses values. In Java, the primitive data types (byte, short, int, long, float, double, boolean, char) have values and operations defined in Java itself. An Abstract Data Type (ADT) is a data type that has values and operations that are NOT defined in the Java language itself. In Java, ADT is implemented using a class or an interface. The code for Arrays.sort is designed to sort an array of comparable opjects.

public static void sort(Comparable [ ] data)