During code reviews, one of the things that is considered is the Command Query Separation Principle Violation.Operations should either do something and return nothing or return something and do nothing, NOT both.The common violations areGetter Methods having void as their return types andSetter methods having some return values.Getter Methods having void as their return types.For eg:void GetSala