Online Learning System
 
STUDENT
 
FACULTY
 
SCHOOL
 
SUPPORT
 
PUBLIC
 
SIGNUP
DAILY QUIZ
 
     
  B L O G    P O S T   
From:   To:     

Post
643 Week 9/15 Outline: Advanced Class Diagrams and Association Classes Implementation
Posted on 3/14/2025) by Liping Liu
(643 Week 9/15 Outline: Advanced Class Diagrams and Association Classes Implementation) Review: Homework Continue: code ApplyInterest() function   Lecture 1: Advanced Association: Composition and Aggregation: A special kinds of association that model object containment relationship (not class containment, why?) Composition is stronger than aggregation: composition means exclusive containment whereas aggregation means shared containment Examples: Car - Engine - Cylinder, Building-Room-Wall, Course -Section - Student - Prerequisite, Directory - File Implementation: C++ uses pointers for aggregation so that when the host is destroyed, the contained objects do not have to be destroyed C++ uses regular variables for composition so that, when the host is destroyed, the contained objects will be destroyed too Java/C# does not have the concept of pointers and so there is no difference in implementation Lecture 2: Association Objects and Classes It is used for capturing data that describe associations... more >>
Visual C++ Redistributable Download
Posted on 3/9/2025) by Liping Liu
(Visual C++ Redistributable Download) Visual C++ 2005 Microsoft Visual C++ 2005 Redistributable (x64) Registry Key: HKLM\SOFTWARE\Classes\Installer\Products\1af2a8da7e60d0b429d7e6453b3d0182 Configuration: x64 Version: 6... more >>
643 Week 8/15 Outline: Class Diagrams
Posted on 3/2/2025) 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/2025) by Liping Liu
(643 Week 7/15 Outline: Object Orientation) Review on Data File Processing Example:  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-2025 ecourse.org. All rights reserved.