The four year degree referred to in the USA is usually considered a bricks and mortar degree. An online degree is not accepted.
That is one more of the fallacies that keep being repeated in these web boards up to the point that some people actually believe them.....!
I know many pilots with on line degrees that are now in Delta, Fedex, UAL etc...!
The reality is that where you get the degree or what kind of degree, is really not important...., now a days they want to see community service! That is the latest pet peeve from the HR departments