Universities have more prestige than a junior college, but whether it is better depends on your needs as a student.
The classes you take the first two years are introductions and will not differ much at either one.
A community college costs less than a university, which appeals to a lot of people.
Community colleges offer one and two-year degrees, while universities offer four-year degrees as well as more advanced education.