From the previous exercise, add a new boolean method isForKids in class EItem
Fantastic news! We've Found the answer you've been seeking!
Question:
From the previous exercise, add a new boolean method “isForKids” in class “EItem” that return true if the minUserAge < 11.
For the GUI, add new Text Area and call it “Kids List”. Your application should separate between items for kids lessthan 11 and item suitable for age more than 11, as shown in the figure.
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Posted Date: