Code AnalysisIntermediate 60s
Analyze: SRP multiple reasons to change
Why does this class violate the Single Responsibility Principle?
class Invoice:
calculateTotal()
renderPdf()
saveToDatabase()
sendEmailToCustomer()
Which statement best captures the SRP problem?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.