We discuss the question of how the number of dimensions of space and time can
influence the equilibrium configurations of stars. We find that dimensionality
does increase the effect of mass but not the contribution of the pressure,
which is the same in any dimension. In the presence of a (positive)
cosmological constant the condition of hydrostatic equilibrium imposes a lower
limit on mass and matter density. We show how this limit depends on the number
of dimensions and suggest that Λ>0 is more effective in 4D than in
higher dimensions. We obtain a general limit for the degree of compactification
(gravitational potential on the boundary) of perfect fluid stars in
D-dimensions. We argue that the effects of gravity are stronger in 4D than in
any other number of dimensions. The generality of the results is also
discussed