Most Nikon film (SLR) lenses will work on Nikon digital cameras (DSLR)
Some features (like autofocus) may or may not work.
Here is a chart that tells it all:
I have a Nikon film SLR and was thinking about getting a Nikon digital SLR. Can I use the lens from the digital?