Should I self study the AP CS A test?

I’m a fairly advanced c++ programmer who is in the Gold division of the USACO, and has substantial algorithmic experience. Because my school did not have space for me to take apcs, I’ll be taking a c++ course at a community college. Should I still spend the time to learn java to self study the AP CS test, or is this unnecessary?