uc gpa vs non uc gpa

I’m not sure if I am under the right forum but here’s my question. I’m in community college and I am taking 2 classes that are non transferable to the UC or CSU and I’m wondering since these classes are non transferable to the schools that it won’t count as my gpa when I transfer.

No, they will not count.