CSC300: Summary: Data structures in Java [6/6] | ![]() ![]() |
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.