package headfirst.designpatterns.iterator.transition;
import java.util.*;
public class Waitress {
ArrayList
The code in page 360 defined the ArrayList as type Menu. However, in git repo, the type is MenuItem.
As I understand, the type should be Menu. Could you please help confirm whether I am correct?
package headfirst.designpatterns.iterator.transition; import java.util.*; public class Waitress { ArrayList
The code in page 360 defined the ArrayList as type Menu. However, in git repo, the type is MenuItem. As I understand, the type should be Menu. Could you please help confirm whether I am correct?
Thank you for your help in advance.