Can I take a "major" class in the summer before I transfer?

If I am trying to apply to UCSD as a Human Biology major, can I take Calc 2, a required class for transfer in the summer before I attend UCSD? For example, if I’m entering for the class of 2019, can I take Calc 2 in summer 2019?

If it’s required you need to take it by spring term, or you very likely will not get accepted— almost certainly the case with Biology.