Computer Programming Languages -- Objects
By Herbert J. Bernstein
© Copyright 2000 Herbert J. Bernstein
Objects are a combined abstraction of data and processes. We focus on the actions they perform and the messages they send to one another to cause those actions to be taken.
Language | Approach to ADT |
---|---|
Simula 67 | Class, no hiding |
Smalltalk | Class, objects, no other types |
Ada | Package (specification, body) -- multiple ADTs with optional hiding |
Modula-2 | Module -- all hidden types are pointers |
C++ | Class with hiding, but non-class types permitted |
Java | Package and class with hiding, the only user-defined types are classes |