Computer Science 340
Programming Languages
Fall 2023, Siena College
Lecture 23: Encapsulation
Date: Thursday, November 30, 2023
Agenda
- Announcements
- Language Project
[HTML]
[PDF]
- next deadline is the paper draft due Monday night
- presentations in class in one week
- there are 8 projects so each will be limited to 10 minutes
- Problem Set 8: [HTML] [PDF] due a week from tomorrow
- Final exam: primary time will be Thursday, December 14, 11-1
- Come to the CS Reading Day Holiday Party! RSVP now!
- Lab 6: Sorting Callbacks [HTML] [PDF] recap: delayed to
Tuesday (or possibly by a video recap over the weekend)
- A quick look at the Chapter 9, Sections 1-5 Discussion Notes
- Abstraction and Encapsulation
- Assignment due in Canvas at the start of our next class: Skim
Sebesta Chapters 11 and 12, and indicate that you have done so by
entering your name as your response in the Canvas assignment. This
assignment is worth 10 points in the "Assignments" category.
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
Links