Asanexample,thedeveloperofaframeworkmaychoosenottopublishtheinterfaceforoneoftheclasses withintheframework.Becausetheclassnameisn’tknown,it’snotpossibleforauser oftheframeworkto createaninstanceofthatclassdirectly.Instead,someotherobjectintheframeworkwouldtypicallybe designatedtoreturnaready-madeinstance,likethis: