SlideShare a Scribd company logo
Find code that you wrote and apply 2 of the 3 design principles
Encapsulate what varies
Program to interface, not an implementation
Favor composition over
Inheritance
Include the following with your awnser:
(1) provide UML representation before and after
(2) provide code before and after
(3) write your conclusion!

More Related Content

PDF
Figure 3 below shows that the survival rate of Blue Wildeb.pdf
PDF
FIGURE 241 Refer to Figure 241 Suppose the economy is cur.pdf
PDF
Fibroblast cells from patients Jack Karen Agatha and Tony.pdf
PDF
Fetal pig What is the purpose of the pericardial sac that su.pdf
PDF
Find the probability PEc if PE019 The probability PE.pdf
PDF
Feral pigs are an invasive species around the world They ca.pdf
PDF
Find the maximum likelihood estimator of +2 Suppose that .pdf
PDF
Find the indicated IQ score The graph to the right depicts .pdf
Figure 3 below shows that the survival rate of Blue Wildeb.pdf
FIGURE 241 Refer to Figure 241 Suppose the economy is cur.pdf
Fibroblast cells from patients Jack Karen Agatha and Tony.pdf
Fetal pig What is the purpose of the pericardial sac that su.pdf
Find the probability PEc if PE019 The probability PE.pdf
Feral pigs are an invasive species around the world They ca.pdf
Find the maximum likelihood estimator of +2 Suppose that .pdf
Find the indicated IQ score The graph to the right depicts .pdf

More from actocomputer (20)

PDF
Female labour force participation rate and economic growth i.pdf
PDF
FedEx construy su negocio sobre la base de la entrega rpid.pdf
PDF
fecower Kayimood Dwicyo Soens sherwood Compact dise playe.pdf
PDF
Find the area of the shaded region The graph to the right de.pdf
PDF
Find a current news article or video within the past 12 mon.pdf
PDF
Female pig Emmy Lou straight tail whitehaired with the h.pdf
PDF
Financing Assumptions Please assume a traditional bank cons.pdf
PDF
FigURE 01 Needle intersecting the border of the ruled tabl.pdf
PDF
Financial InformationFinancial InformationFinancial In.pdf
PDF
Fewer open fNa+ and Ca++ channels during the pacemaker poten.pdf
PDF
FIN 3100 Principios de Finanzas Caso de estudio Barry y S.pdf
PDF
Final Assessment LRT shutdown exposes inefficiencies in publ.pdf
PDF
Filler glgeden ayrldlar allarn arasndan ak bir im para.pdf
PDF
Fill out the stages of the virus lifecycles for the virus fo.pdf
PDF
Fill in the table below with the survivorship curve I II .pdf
PDF
Fill in the table below with the survivorship curve 1 II .pdf
PDF
Fill in the missing values i xii CAt is Current Accou.pdf
PDF
Fill in the missing blanks in the following table Assume fo.pdf
PDF
Fill in the missing information in the following table Assu.pdf
PDF
Fill in the blank with ONE word ONLY based on the picture be.pdf
Female labour force participation rate and economic growth i.pdf
FedEx construy su negocio sobre la base de la entrega rpid.pdf
fecower Kayimood Dwicyo Soens sherwood Compact dise playe.pdf
Find the area of the shaded region The graph to the right de.pdf
Find a current news article or video within the past 12 mon.pdf
Female pig Emmy Lou straight tail whitehaired with the h.pdf
Financing Assumptions Please assume a traditional bank cons.pdf
FigURE 01 Needle intersecting the border of the ruled tabl.pdf
Financial InformationFinancial InformationFinancial In.pdf
Fewer open fNa+ and Ca++ channels during the pacemaker poten.pdf
FIN 3100 Principios de Finanzas Caso de estudio Barry y S.pdf
Final Assessment LRT shutdown exposes inefficiencies in publ.pdf
Filler glgeden ayrldlar allarn arasndan ak bir im para.pdf
Fill out the stages of the virus lifecycles for the virus fo.pdf
Fill in the table below with the survivorship curve I II .pdf
Fill in the table below with the survivorship curve 1 II .pdf
Fill in the missing values i xii CAt is Current Accou.pdf
Fill in the missing blanks in the following table Assume fo.pdf
Fill in the missing information in the following table Assu.pdf
Fill in the blank with ONE word ONLY based on the picture be.pdf

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Lesson notes of climatology university.
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Classroom Observation Tools for Teachers
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharma ospi slides which help in ospi learning
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Cell Structure & Organelles in detailed.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Lesson notes of climatology university.
Anesthesia in Laparoscopic Surgery in India
Chinmaya Tiranga quiz Grand Finale.pdf
Complications of Minimal Access Surgery at WLH
Yogi Goddess Pres Conference Studio Updates
Classroom Observation Tools for Teachers
Microbial disease of the cardiovascular and lymphatic systems
Pharma ospi slides which help in ospi learning
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial diseases, their pathogenesis and prophylaxis
Cell Structure & Organelles in detailed.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Cell Types and Its function , kingdom of life
01-Introduction-to-Information-Management.pdf
Orientation - ARALprogram of Deped to the Parents.pptx

Find code that you wrote and apply 2 of the 3 design princip.pdf

  • 1. Find code that you wrote and apply 2 of the 3 design principles Encapsulate what varies Program to interface, not an implementation Favor composition over Inheritance Include the following with your awnser: (1) provide UML representation before and after (2) provide code before and after (3) write your conclusion!