What to study with for Java

Free official tutorials cover the language. One beginner book helps if you are new to programming.

Free and official

If you want one book

Head First Java, 3rd edition

Kathy Sierra, Bert Bates and Trisha Gee. O'Reilly Media, 2022. ISBN 978-1-4919-1077-1.

Very visual, with lots of small exercises. It suits students taking their first programming course who find textbooks dry. The 3rd edition covers Java 8 to 17. If your course has an assigned textbook, use that first.

See it on Amazon

Kestrel Exams earns a commission if you buy through this link. It costs you nothing extra and does not change what we recommend.

Practise for free

Kestrel's Java practice app has more than a thousand free questions with explanations, and the Java guides walk through each topic. Free, with no ads and no account.

Other subjects