XE-FOP 1

2005.09.27

Session 4
27. september 12:15-15:45 at location D211

Plan and notes - Preparation - Exercises - Extra

Plans and notes

The Basic book to reference to is C# for Studens, Douglas Bell & Mike Parr, Addison Wesley

Topics

Object-oriented design  - litterature chapter 20:

Inheritance  - litterature chapter 11:

  • Using inheritancd
  • Overriding
  • base
  • Constructors
  • Abstract classes

Interfaces  - litterature chapter 23:

  • Using interfaces
  • Making interfaces

Polymorphism - litterature chapter 24:

  • How it works
  • Casting
  • is & as operators

I will talk about the topics in generel and try to give short examples.
You will work with new excersises.

 

Preparation

The exercises from session 3 must be done before this session

Read about the topics you didn't understand from the last session - if you haven't got the book se at the toturial links at the course site

Try to figure out what you already know about the new topics, and what you guess about the rest.

Read about the topics you don't know something about - if you haven't got the book se at the toturial links at the course site

 

Exercises

The exercises from the last session must be done before this session

New exercises to be started in this session and to be solved before the next session

 

Extra materials

Extra materials from the last session

Extra materials from this session (may be added after the session)