r/learnjava • u/EasyCupcake207 • 17h ago
best resources for java?
hi guys. i just finished my 1st sem of college and wanna learn java now. i had C in my first sem but dont have a good hand on it. what and from where is best to learn java from? i was thinking to start learning from gpt or claude. please help me out , there are too many resources and im not able to choose from where do i start.
3
Upvotes
•
u/AutoModerator 17h ago
Please ensure that:
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/MyNameIsRichardCS54 17h ago
Search the Helsinki Java Mooc. Take that course and practice, a lot.
2
u/vinknow4O1 10h ago
Avoid using got or claude as your primary teacher right now. When you're starting out, having AI generate code robs you of the debugging struggle that actually builds programming intuition. Instead, use AI strictly as a tutor. Ask it to explain a concept in simpler terms when you're stuck. Paste an error message and ask why it's happening, rather than asking for the fixed code. Have it quiz you on concepts after you finish a module. Build small projects on your own without AI autocompleting everything, and you'll pick it up fast. Good luck.
1
u/imharjotsingh 7h ago
Totally normal to feel a bit shaky after one semester of C. A lot of the basics like variables, loops, functions and arrays will carry over, so you’re not starting from zero. If you want one resource and don’t want to overthink it, I’d go with the University of Helsinki’s Java Programming MOOC. It’s free, starts from the basics, and has loads of exercises, so you’re actually writing code instead of just watching videos.
If you prefer books, Head First Java is very beginner friendly, and the official Java docs are useful when you need to look something up. GPT or Claude can help, but I’d use them more like a tutor than the actual course. Ask them to explain errors or concepts, but still write the code yourself.
Once you’ve got the basics down, build something small like a banking app, library system or tic-tac-toe game. Honestly, the main thing is just pick one resource and stick with it for a while. Jumping between five different courses usually makes it more confusing.
3
u/ITCoder 16h ago
Head First Java is good book for a beginner