ADT is simple a feature not only in Java but in major programming languages that allows us, developers, to create an implementation-independent from a specific object-data type. Using ADT, we can focus on the "behavior" and in the implementation. We have been using so far, a familiar object that uses this concept: ArrayList.
ArrayList is a simple implementation of a List of items, and according to the definition of the book: "The term abstract data type, or ADT, refers to a set of possible values and a set of operations on those values, without any specification of how the values are to be represented or how the operations are to be implemented." (Eck, 2016).
Also, the most common ADT used is related to LinkedList, Queues and Stacks, which we are already familiar with in this Unit. What I understand from ADT is that we can use this mechanism for implementing a program hiding unnecessary details of implementation and focus on the behavior and operations that the program must have, and doing this we can improve how the software is developed. …show more content…
After doing some research, I found one of the applications of Queue (one type of ADT), which is to manage the files that will be printed on a printing machine. If we think about it, this sounds silly or at least very simple to be real, However, is a handy way to use Queues. The files that come first must be printed; first, that is the exact definition of a Queue in Java.
Application of a Queue on a Printer