Short answer - Eating whole fruits will always give you more nutrients than drinking juice as the fiber, and some vitamins, and minerals may be processed out of the juices.
Eating the whole fruit is better than drinking the juice of the fruit, especially if you are watching your weight.
Long answer – Do read this article it help you form the right opinion...
Recommended Read - from Mayo Clinic - Is juicing healthier than eating whole fruits or vegetables?
Published - October 2019