IT/개체지향
OOP - 배운점 3
유연성이 높은 설계와 결합도가 높은 설계의 차이 OverdrawAnalyzer overdrawAnalyzer1 = new OverdrawAnalyzer(5, 5); CommandHistoryManager commandHistoryManager = new CommandHistoryManager(overdrawAnalyzer1); commandHistoryManager.execute(new ToUpper(2, 0)); commandHistoryManager.execute(new ToUpper(0, 1)); commandHistoryManager.execute(new ToLower(4, 3)); commandHistoryManager.execute(new FillHorizontalLine(0, 'e')); c..
2022. 12. 6. 12:48
최근댓글