NEOGOV interview question

Why java has restriction of extending a single class?