I’m currently going to a community college in Southern California. I plan to transfer to a nearby four year university and get a bachelor’s degree in Computer Science. If I end up getting that bachelor’s degree, then what would be the chances I could get accepted into a Masters program of a different study such as Physics or other. I’ve heard of people switching majors, but I want to know more information and the possibilituse in my future situation. I just want some information so I can think about it along the way as I have a long time to decide.
Physics graduate programs at research universities are likely to be PhD oriented, and are likely to require undergraduate preparation approximating a bachelor’s degree in physics (i.e. the full frosh/soph physics and math sequence, plus about eight semester-long junior/senior level physics courses, plus perhaps additional advanced math courses).
Some other subjects may be easier to move into for graduate study, though they may still have some expected undergraduate preparation. And some professional school programs like MBA and JD do not have any specific major or course requirements at all.
You can go to department web pages in the subjects you are interested in and look for information on what preparation they expect for incoming graduate students.
If you want to get a graduate degree in physics, why would you major in computer science? If you know you want a graduate degree in physics then you major in physics.
Graduate programs are professional credentialing programs that are supposed to prepare you for a career in the field you’re getting it in - either directly, or indirectly through preparing you for a PhD program. Given that, you’re expected to have foundational knowledge in the field. That’s why it’s called graduate school - it builds upon undergraduate knowledge.
If you want to major in CS but want to keep the option open of graduate study in physics, take lots of classes in physics - at least a minor.