Where is the genetic material that determines the inherited traits of an organism located inside of a eukaryotic cell?

Cytoplasm
Vacuole
Nucleus
Ribosome