CSC300 / CSC402: 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.

Note: Static fields and methods, generic classes, and interfaces are not covered on exams.
Tracing code, as we covered in class last week, MAY be on the exam.
We are talking about these topics to help you read the code.
They will be revisited in SE350/SE450, CSC347/CSC447 and CSC373/CSC406/CSC407.

Previous pageContents