Homework 12
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
- Continue working on your Fifteen project,
using pair programming throughout. You should be finished or nearly finished
with it by the due date of this homework.
- Continue working on your ComparatorDemo project.
You should be finished or nearly finished
with it by the due date of this homework.
- 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.
- In a sentence or two, what are the main advantages of using an anonymous class?
In a sentence or two, what are the main disadvantages of using an anonymous class?
- In 20 words or fewer, what is a function object?
In 10 words or fewer, what is a functor?
- Explain briefly why a class that implements Comparator is a function object.
Explain briefly why the Comparator interface is useful.