Homework 6
CSSE 221 – Fundamentals of Software Development Honors
Fall 2008–2009
Recall the
Due Dates
and
(from the syllabus)
the
Late (and early) Assignment Policy
and guidelines for
maintaining Academic Integrity.
Also recall that you can get help on any of these problems during the
CSSE lab assistant hours,
and you can use the Assignments Discussion Forum
on Angel to discuss, clarify, or get help on these problems.
Things to do
- Complete the BigRational exercise,
if you have not already done so.
- Complete the Exceptions exercise,
if you have not already done so.
- Begin reading Chapter 10, Inheritance,
of Big Java. XXX FIX TO READ CHAPTER 9 FIRST XXXX
- Read as much as you reasonably can.
You'll read the rest of the chapter as part of your next homework.
- Do and self-check all the Self Check problems
that you encounter in this reading.
- You don't have to write down the answers to those Self Check problems;
just do them in your head and then check your answers against
the answers given at the end of the chapter.
- Do the written problems below.
Written problems
Write your answers to these questions.
Turn your answers in via the appropriate Homework Drop Box on Angel.
- Do Review Exercise R10.4 on page 490
(end of Chapter 10) of Big Java.
- Briefly explain each of the following notations:
this.blah
this.xxx()
this(yyy)
- Briefly explain each of the following notations:
super.xxx()
super(yyy)
- Extra credit: Assuming that xxx is a field (not a method),
explain why the following notation is never appropriate if you follow good practices.
(Hint: shadowing.)
super.xxx