Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 818 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 818 Bytes

csc207-hw03

Assignment 3 by Grace Tsui and Justin Chen

This assignment consists of working with polymorphic compositions of text, where text objects were combined, recombined, and reset. It also consists of modeling grocery items and using interfaces to connect different object types together. Finally, these objects were grouped together and this group was changed with objects removed/added.

Citations:

Part A: The TruncatedBlock class was implemented in lab by Justin Chen, Yilan Dong, Grace Tsui, and Chris Wong and was altered to fit this assignment.

The RightJustified class was implemented in lab by Justin Chen and Yilan Dong and altered to fit this assignment.

We learned how to use instanceof and how to cast objects at https://study.com/academy/lesson/how-to-use-instanceof-operator-in-java.html