December 13, 2015 · Public
Hi...I have a doubt related to Java Basics tutorial# 43:Composition. When tuna constructor would be invoked it would simply assign theDate object to birthday object but the video says it will also invoke toString() method of tuna class. Now, tostring() is invoked to represent string for any object but where are we doing so in the constructot tuna() ? Pls help.