Lecture 19 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Every variant of AbsMenuItem defines the method accept() the same way:

public boolean accept(ICount matcher){
  return matcher.shouldCount(this):
}
What is the purpose of the accept() method?