计算机代写 EBU6304: Software Engineering Lab 8: Design Principles

Queen Mary University of London School of Electronic Engineering and Computer Science
EBU6304: Software Engineering Lab 8: Design Principles
Exercise 1: Single Responsibility Principle
Give an explanation of why ¡°A class should have only one reason to change¡± is an aspect of good quality code, and why it is considered one way of describing the Single Responsibility Principle.

Copyright By PowCoder代写 加微信 powcoder

Exercise 2: Liskov Substitution Principle
The Liskov Substitution Principle can be summarised as stating ¡®you should be cautious about use of inheritance¡¯. Although overriding a method is an important aspect of object-oriented programming, the Liskov Substitution Principle suggests you should only do it in certain ways. Explain in more detail what the Liskov Substitution Principles states about using inheritance, and why it helps create good quality code.
Submission: A Word or PDF document that contains your solution

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com