code to explanationWed, 28 Dec 2022

public class DvdCommandNameStarsOn extends CommandAbstract { private DvdName dvdName; public DvdCommandNameStarsOn(DvdName dvdNameIn) { this.dvdName = dvdNameIn; } public void execute() { this.dvdName.setNameStarsOn(); } }

This is the dvdNameStarsOn class, which sets the stars on.

Questions about programming?Chat with your personal AI assistant