It's preferable to get a Bachelor of Science degree with an emphasis in aviation (but your degree doesn't necessarily have to be aviation related). Airline pilot training is intense and expensive. A college degree helps to demonstrate to the airline that you will be capable of completing their education program.