Computer Science 340
Programming Languages
Fall 2019, Siena College
Lecture 28: Abstraction and Encapsulation
Date: Wednesday, November 13, 2019
Agenda
- Announcements
- Language Project
[HTML]
[PDF]
- next deadline is progress reports on Monday; review the expectations
- Looking (not too far) ahead: Exam 2 is the evening of Monday,
November 25. Details soon.
- Abstraction and encapsulation
- Work on Lab 4: Callback Functions in C (finish up?, in any case, let's make it due Sunday night)
Terminology
- abstraction
- encapsulation
- abstract data type (ADT)
- class
- information hiding/protection levels
- constructors/destructors
- encapsulation mechanisms
- separation of interface from implementation
- public/protected/private/package scope
Examples
- javageneric
- cppvector
- ratios