Degree to be a Pilot, relatively unimportant. It shows an aptitude to learning - and of learning under your own steam, but not crucial.
Degree to be an Officer - more important. Independence, maturity [sometimes....] exposure to more of the world, etc, all valuable and help you be a better candidate and better Officer.