Textbook for self-study ap computer science?

<p>I am a high school student interested in computer science. As I want to be in CS major in college, I now want to learn the ap computer science by myself. I have been learning programming for years (not java however), so I guess it shouldn't be too hard to do so. However, there are too many books there for computer science.
Could anyone who has been in an ap computer science class recommend me a textbook to study CS?
Thx~!</p>

<p>For the AP exam you can just use the Barron’s prep book. The test only covers CS1 and data structures (a little of CS2) so you can also use a CS1 book on Java. Do check the Course Description because a lot of CS1 topics aren’t tested. </p>

<p>Java is easy to learn. Here is a textbook you can use to self-study (or buy a real book if you prefer:</p>

<p><a href=“http://physweb.bgu.ac.il/FreeWebSite/xozyain/Literature/coding/Addison%20Wesley%20-%20Java%20Software%20Solutions,%204th%20Edition.pdf[/url]”>http://physweb.bgu.ac.il/FreeWebSite/xozyain/Literature/coding/Addison%20Wesley%20-%20Java%20Software%20Solutions,%204th%20Edition.pdf&lt;/a&gt;&lt;/p&gt;

<p><a href=“Supporting Students from Day One to Exam Day – AP Central | College Board”>Supporting Students from Day One to Exam Day – AP Central | College Board;

<p>I also suggest Javanotes:</p>

<p>[Javanotes</a> 6.0 – Title Page](<a href=“http://math.hws.edu/javanotes/]Javanotes”>Javanotes 9, JavaFX Edition -- Title Page)</p>

<p>I’m taking APCS online this year and that along with Barrons has helped me understand the topics quite a bit. Sometimes getting topics from different sources really helps.</p>

<p>Thanks for your links~</p>