CSC403: Summary: Data structures in Java [9/9] Previous pageContents

Abstract data types are implemented as data structures.

Data structures are realized in Java using classes.

We hold the data associated with a data structure using fields (aka member variables or instance variables).

Fields are different from local variables, which are stored in methods.

Previous pageContents