r/learnjava • • Oct 29 '21

Good Java books with practice projects.

Hello everyone, I’m a CS major and I am in an intro CS class that teaches in python. I won’t be able to take the next CS class until next fall semester because of course scheduling issues. It’s in Java and I don’t know any java so I would like to get ahead before I take the course. Any good beginner books for java would be appreciated. I currently have a pretty good under of python so do your thing Reddit.

48 Upvotes

11 comments sorted by

2

u/[deleted] Oct 29 '21

Commenting to follow.

3

u/[deleted] Oct 29 '21

I’ll let you know when I get a bite 😂. I might try in the Java sub

4

u/desrtfx Oct 30 '21

Use reddit's "save" feature.

13

u/lskesm Oct 29 '21

Try Java How to Program, Early Objects by Harvey Deitel, Paul J. Deitel. It’s a core book on my course and i love it. Loads of practice, code examples, revision questions at the end of every chapter. Super helpful

7

u/ZoloftRabbit Oct 29 '21

washington university offers practiceit.edu.

This is where I learned java. If you have programming experience you should be able to google the topics. There are also answers scattered across git.

Libgen java books by Knuth

edit: hackerrank as well

4

u/desrtfx Oct 30 '21

Just do the MOOC Java Programming (also linked in the sidebar) from the University of Helsinki. It is a free textual course with plenty graded practical exercises.

2

u/gigabyteIO Oct 30 '21

math.hws.edu/javanotes

2

u/lrobinson42 Oct 30 '21

You should try to find out what textbook your class will be using and get that.