Pergunta de entrevista da empresa Universal Robots

Whats wrong with this Java code. Can you make this java code more SOLID like.