-
Lesson Setup
-
Start-of-lecture
Slides
(Required)
-
'Starter'
project for the
lesson 07 PCEs
(Post-Class
Exercises)
NOTE: This
week's PCEs are to
be done individually,
regardless of what's
said in any of the
videos
-
Watch
the online
videos for this
lesson and
demonstrate your
knowledge
(Hand-In)
Download all
videos for
this lesson
(Use the
'Download'
menu item)
-
Final
(Ending) version
of the
demonstration
project used in
the videos
Feel free to
download
this and
refer to it
/ examine it
/
experiement
with it as
you're
watching the
videos
below.
-
Ignore
NUnit:
There
may be stuff
that talks
about NUnit
in the
following
material.
Please
ignore this,
as we are
not using
NUnit this
quarter.
Thanks!
-
Earlier, the
topic "Array
Inside Of A
Class"
was listed here.
It has since
been removed and
moved back to
Lesson 06 (where
it was also
listed).
If you find
anything about
the "Array
Inside Of A
Class" exercise
listed on this
website please
let the
instructor know.
(There may be
code left in the
starter project
that we're not
using - the
unused code in
the starter
project is
fine).
-
OOP
Inheritance
(Specialization)
-
VIDEO:
Inheritance:
Conceptual
overview
-
VIDEO:
Inheritance:
vocabulary
-
VIDEO:
Inheritance:
Inheriting data
-
Exercise:
Basic
Inheritance
(Chapter 10
explains
inheritance in
detail) (Hand-In)
-
VIDEO:
Inheritance:
Constructors
-
Exercise:
Inheritance:
Constructors
-
Exercise:
Inheritance:
Calling Methods
in the base
class
(Hand-In)
-
Exercise:
Overloaded
Constructors:
Calling One
Constructor From
Another (Hand-In)
-
Polymorphism:
Overriding
Methods
-
VIDEO:
Polymorphism:
Overriding
Methods
-
Exercise:
Explaining basic
polymorphism
(Chapter 11
explains
polymorphism in
detail)
-
Exercise:
Creating a
basic,
polymorphic
method
-
VIDEO:
Polymorphism: An
Array Of Objects
With An
Overridden
Method
-
Exercise:
Polymorphism and
arrays (Hand-In)
-
Exercise:
Overriding a
standard method:
ToString (Hand-In)
-
Exercise:
Polymorphism,
arrays, and the
ToString method
-
Exercise:
Polymorphism:
virtual,
override, new (Read
Only If You're
Curious - this
is NOT required)
File:
Inheritance.zip
-
Named Constants
-
VIDEO:
Named Constants
-
Exercise:
Named Constants (Required)
-
Final Steps
-
Web
Hand-In for post-class exercises and for homework: Go to the
StudentTracker web app, and create an account for
yourself, and then "enroll" in the course. Please submit a .ZIP (and ONLY a .ZIP - not a .RAR, .7z, etc)
that contains the Program.cs
file, the video outline/viewing quiz .DOCX (or .PDF), any other files you wish to include, and leaves out every thing else (as
much as possible).
-
Make sure that you're working on
the next homework
assignment.
Details
are listed on the
homework assignment page.
The due date is listed on the
main page.
-
Practice what you've
learned
Remember that in order to really learn
this stuff you're going to need to practice it. Go
back and redo the exercises from this lesson until you've
really got it down. Go back to the prior lesson(s) and
review and redo that. Make sure that you've really got
this stuff in your head (and remember that it gets easier
each time you redo the work)!
|