General relativity resolved the matter by establishing that the universe could be both finite — i.e., could contain a finite number of stars in a finite volume of space — and unbounded. The key to this realization lay in Einstein’s demonstration that, since matter warps space, the sum total of the mass in all the galaxies might be sufficient to wrap space around themselves. The result would be a closed, four-dimensionally spherical cosmos, in which any observer, anywhere in the universe, would see galaxies stretching deep into space in every direction, and would conclude, correctly, that there is no end to space. Yet the amount of space in a closed universe would nonetheless be finite: An adventurer with time to spare could eventually visit every galaxy, yet would never reach an edge of space.

Coming of Age in the Milky Way (via Kottke.org).

This looks like an interesting book to read.