Examveda

Which principle in Ruby programming suggests that classes should have a single, well-defined responsibility?

A. Single Responsibility Principle (SRP)

B. Don't Repeat Yourself (DRY)

C. Keep It Simple, Stupid (KISS)

D. You Aren't Gonna Need It (YAGNI)

Answer: Option A


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby