Unless you plan to take in city life for the whole trip, you’ll want to rent a car to get around to the various attractions. Keep in mind that California is a large state, so having a car is a necessity when you need to travel long distances.
It can be an excellent adventure to cruise on the coastal highway to enjoy the stunning views.