StuDocu interview question

Naming methods, methods side effects