In this paper we have formulated the electronic contribution to the elastic constants in ultrathin films of p-Si by considering the influences of heavy, light and split-off holes respectively. We have suggested an experimental method of determining the same in degenerate materials having arbitrary dispersion laws. The elastic constants increase with increasing hole concentration in an oscillatory way and decrease with increasing film thickness. The theoretical formulation is in agreement with the suggested experimental method of determining second and third order elastic constants.