310x Filetype PDF File size 0.43 MB Source: www.comp.nus.edu.sg
CS1020 Lecture Note #4: Object Oriented Programming (OOP) Part 2 – Designer Mode Creating our own classes Objectives Programming model and OOP • Using object-oriented modeling to formulate solution Creating our own classes • Determining what services to provide for a class Unified Modeling Language (UML) • Graphic representation of OOP components [CS1020 Lecture 4: OOP Part 2] 2 References Textbook • Chapter 2: Section 2.2 (pg 119 – 130), Section 2.3 (pg 131 – 150) CS1020 website Resources Lectures • http://www.comp.nus.edu.sg/ ~cs1020/2_resources/lectures.html [CS1020 Lecture 4: OOP Part 2] 3 Outline (1/2) 1. Recapitulation 2. Programming Model and OOP 2.1 Procedural vs OOP 2.2 Illustration: Bank Account 3. OOP Design 3.1 Designing Own Classes 3.2 Bank Account: BankAcct class 3.3 Accessors and Mutators 3.4 Writing Client Class [CS1020 Lecture 4: OOP Part 2] 4
no reviews yet
Please Login to review.