r/learnjava • u/randomdude67676767 • 5d ago
Sources to study Java, and how to study it?
I'm studying Java in universitiy, and sometimes my doctors could be really bad at teaching, so whatcha got another sources ? Like youtube channels, or websites? Also I don't know how to start and study tbh😅
28
Upvotes
•
u/AutoModerator 5d 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.
8
u/desrtfx 5d ago
!sidebar -> MOOC
3
u/No-Formal7513 4d ago
Can use Dev.java, good website, official one, or just go on GeeksForGeeks, thats also good.
You can learn Java by just googling, StackOverFLow is full of people, who would solve your problem without any doubt
3
u/Both_Bend_2481 4d ago
Read their main website??
3
u/Available_Safe1818 4d ago
Learn to use google and read the main Java website maybe?
3
u/woke_chimp 3d ago
Head First Java Book, 2nd or 3rd edition are better, you can download the PDF online, the book will show you how to start and how to study.. don't mind about that.
3
u/Sure-Passion2224 5d ago edited 3d ago
In these beginner classes you are learning multiple major things simultaneously.
That's the least important of these because the others apply regardless of the specific language.
Example Scenario:
I recently had to solve a legacy issue in which the old code was using a Calendar Object (deprecated since Java 8). Calendar was buggy and inaccurate. The replacement was a new java.time temporal namespace with a LocalDate object.
I found the JavaDoc page that described the Object and all of it's exposed attributes and methods. The refactoring of old code was guided entirely by that documentation and the new work has fewer lines of code.
2
u/Dry_University137 5d ago
Just look up some super simple projects on yt. Find the simplest you can and follow them. Then try to implement it yourself. When you get stuck look for help. Repeat untill you can do it yourself even if you have to do it on brute memorization alone. It kind of helps to get a grip on things. Repeat it a couple of times and youll understand
1
u/_sdfjk 5d ago
I was learning from w3schools game but havent touched it in a while
1
u/Dazzling_Music_2411 3d ago
Sounds like you might benefit from learning HOW to study before you do anything else.
1
u/Far-Bullfrog161 2d ago
The sources people listed are fine, how you use them matters more. Write code every day, even 30 minutes, and type every example yourself instead of just reading it. When you finish a topic, close the material and write a tiny program with it from scratch, like a grade calculator after loops and arrays or a simple bank account class after OOP. You'll get stuck a lot at first and that's normal. When something doesn't work, add print statements or step through it with the debugger before googling, so you see what the code is actually doing. Also start your uni assignments early so you have time to redo them a second way.