Pergunta de entrevista da empresa NEOGOV

Why java has restriction of extending a single class?