tran-quoc-anh-vo-avatar

What is ADT in Java ?

Please help me explain it and give example.
0%

3 replies

over 4 years ago
yeollie-bae-avatar
A data type is a set of values and operations that can be performed on those values • The Java primitive data types (e.g. int) 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 language itself • In Java, an ADT is implemented using a class or an interface
over 4 years ago
zaina-itriq-avatar
ADT it is an abstract data type that spicify the type of data structure and how it will work as a design about stack data structure