Pergunta de entrevista da empresa EPAM Systems

What is an optional class and how to use it ?