Classes
To the first order, an ADT is called a class in an OO language
Data structures are called objects and instances
Operations are called methods
Data inside the class are called instance variables
(Later, some discussion of class vs. type)
Previous slide
Next slide
Back to first slide
View graphic version