题目内容
AcompanythatmakesComputerAssistedDesign(CAD)softwarehas,withinitsapplication,someutilityclassesthatareusedtoperform3Drenderingtasks.Thecompany’schiefscientisthasjustimprovedtheperformanceofoneoftheutilityclasses’keyrenderingalgorithms,andhasassignedaprogrammertoreplacetheoldalgorithmwiththenewalgorithm.Whentheprogrammerbeginsresearchingtheutilityclasses,sheishappytodiscoverthatthealgorithmtobereplacedexistsinonlyoneclass.The programmerreviewsthatclass’sAPI,andreplacestheoldalgorithmwiththenewalgorithm,beingcarefulthatherchangesadherestrictlytotheclass’sAPI.Oncetestinghasbegun,theprogrammerdiscoversthatotherclassesthatusetheclassshechangedarenolongerworkingproperly.
Whatdesignflawismostlikelythecauseofthesenewbugs?()
查看答案
搜索结果不匹配?点我反馈