Is community college (and then transferring to 4 year) only for general ed. classes?

It is best to complete as much of the major preparation course work as you can before transfer; otherwise, you will need to “catch up” after transfer, potentially delaying graduation (which is more expensive if the delay is while you are at the four year school).