Yes, a Star Trek question. But really, which would you rather have? With a replicator, you could create anything the size of a bread basket or smaller, as long as it wasn’t terribly complicated. With the holodeck, you could live a virtual world as real as life and have it go any way you desire.
I realize with the replicator you could replicate bars of gold or diamonds and *buy* pretty much anything… but which would you pick?