If you think a bit technically, neither of them is better quality, as they both are container formats and no compression technology.
3GP uses the same specifications as MP4, which can contain stream data of any MPEG-4 compatible Video Codec (H.263, H.263+, XviD, DivX, H.264, MS MPEG 4 and...