How to avoid OO designs violate the Dependecy Inversion Principle?
HowtoavoidOOdesignsviolatetheDependecyInversionPrinciple?1.Novaribleshouldholdareferencetoaconcreteclass. Ifyouusenew,you'llbeholdingareferencetoaconcreteclass.Useafactorytogetaroundthat.2.Noclas