Will UCs factor in unecessary classes that has nothing to do with their majors into the GPAs?

<p>For exmaple, what if I took an art class or an ESL class and got an F and I’m an economics major? what will that do? I took some art classes and phych, physics and some of the grades were not satisfying. Out of 10 classes, like 6 of them are art. Am I going to transfer will all of that or will I be transfering with credits that matter to my major and required classes for the 4 year universities?(Also will they calculate all classes or just 60 credits that they will be excepting?) What if I take more than 60 credits worth of classes?</p>