TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 21.09.11.
19896
post-template-default,single,single-post,postid-19896,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Markham Saturday 14:00 Java Homework 21.09.11.

15 Sep Markham Saturday 14:00 Java Homework 21.09.11.

Question:
In the previous class, we built a simple store in Java by using different classes and objects. In the previous class, we built the Product class and created the object out of the product class and used a for loop to Print the product objects.

As an homework, I want you to create the User and the Cart classes and objects. Also, additionally write code, such that the User object is able to add any Product to the Cart object.

No Comments

Sorry, the comment form is closed at this time.