We see a GUI and a Quote class that know nothing of each other successfully communicating, the GUI sending a message to the Quote object when triggered by a button click and the Quote object receiving the message returning its own message to the receiver, an output of the quote from a list of strings in the GUI's text area. This behaviour is the basis of modern relational databases.
On this page of the site you can watch the video online Example of aggregation or composition in Java with a duration of hours minute second in good quality, which was uploaded by the user Quotidian Education 04 March 2015, share the link with friends and acquaintances, this video has already been watched 5,428 times on youtube and it was liked by 11 viewers. Enjoy your viewing!