01-03-2013, 01:11 PM
Object-Oriented Analysis and Design
Object-Oriented.ppt (Size: 172 KB / Downloads: 63)
Obstacles
Not the “perfect” Introduction to Object Orientation book
Examples in Java
Rework in VB.NET or C#.NET
Approach too “Juvenile”
Maybe
Incorporates many different features drawn from learning theory and cognitive psychology
Not a course for “object oriented gurus”
Yet assumes some familiarity with object-oriented coding
Approach
Stick close to the book
As much code as possible
Walkthru’s
Get your hands dirty, become involved
Do the book exercises
Work with someone where possible
Participate in class discussions
Team Learning Experiments
Learning Objectives
Be able to read and interpret a UML class diagram
Be able to write a simple class in VB.NET or C#.Net
Be able to write a class that inherits from another class, changes some behavior and adds some behavior to the base class
Be able to define polymorphism
Be able to identify what encapsulation is and why it is important
Inheritance
Once class inherits behavior from another class
Code keywords
VB: Inherits
C# uses : (colon) to indicate inheritance
“Derived” class, subclass
“Base” class, superclass (vb – MyBase)
Problems
Search routine does not work
Should use constants or enums instead of strings
Search should return multiple guitars
Architecture could use some restructuring
What would you do first with Rick’s app?