远程教学支持系统
 
STUDENT
 
FACULTY
 
SCHOOL
 
SUPPORT
 
PUBLIC
 
SIGNUP
DAILY QUIZ
 
     
  B L O G    P O S T   
From:   To:     

Post
643 Week 8/15 Outline: Class Diagrams
Posted on 3/2/2024) by Liping Liu
(643 Week 8/15 Outline: Class Diagrams) Class Diagram: A graphical model representing conceptual objects and their relationships Two Types of Relationships: Inheritance: Instance Level: Child objects are special kinds of a parent object (is-a relationship) Class Level: Child classes are sub classes of a parent class Wrong: A child object is contained in a parent object (why?) Example 1: Employee, FullTimer, and PartTimer Account, Checking, and Savings Encapsulation Principle Revisit:  private data for parent class must be changed into protected one behavioral members must be changed into virtual if child class needs to change their implementation... more >>
643 Week 7/15 Outline: Object Orientation
Posted on 2/14/2024) by Liping Liu
(643 Week 7/15 Outline: Object Orientation)   Example 2:  Create a text file called users.txt that stores a list of user passwords.  Then create a login form to validate users against the file... more >>
Post
     
 
Blog Posts    News Digest    Contact Us    About Developer    Privacy Policy

©1997-2024 ecourse.org. All rights reserved.