Question: are nikon lenses compatible with all nikon cameras?
Answer: Yes, except for very old models before 1959. It will "fit" because Nikon has the same bayonet mount called the Nikon-F mount which hasn't changed since 1959! So all the lenses are interchangeable with film SLR and DX and FX bodies.