Electron degeneracy pressure is the main source of pressure in white dwarfs, while neutron degeneracy pressure is the main source of pressure in neutron stars.