Need some help for a science project.

Will a battery holder that can hold 6 batteries work with only 4 inside?