Data Design and Implementation. Abstract Data Types. Definitions of Java TYPES. Atomic or primitive type A data type whose elements are single, non-decomposable data items - e.g , an int or a float variable Composite type :
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Atomic or primitive type
A data type whose elements are single, non-decomposable data items - e.g, an int or a float variable
Composite type :
A data type whose elements are composed of multiple data items e.g. A CLASS
classes are heterogeneous structures.
an array of integers has only integers in it.
A class has variables of different types and methods
Data abstraction: The separation of a data type’s logical properties from its implementation
and contains methodsthat perform operations on array.
e.g.Adding or deleting items etc.
e.g. arrays or linked lists.