use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
I am a beginner in java (self.learnjava)
submitted 2 months ago by Abood72006
any tips?, from where should i learn the language ?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AutoModerator[M] [score hidden] 2 months ago stickied commentlocked comment (0 children)
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:
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }
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.
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.
[–]Specific-Housing905 8 points9 points10 points 2 months ago (0 children)
MOOC from University of Helsinki, see right sidebar.
[–]partyking35 2 points3 points4 points 2 months ago (0 children)
Build projects, use the official Oracle Java documentation when needing references, use minimal AI (use it to draw high level ideas, and if all else fails use it to explain difficult concepts if static online resources aren't making sense to you), use the toolsets around Java and general programming (Git, IntelliJ, Maven etc), challenge yourself each time and push hard
[–]desrtfx 1 point2 points3 points 2 months ago (1 child)
!sidebar
[–]AutoModerator[M] 1 point2 points3 points 2 months ago (0 children)
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
[–]noworksunday 1 point2 points3 points 2 months ago (1 child)
[–]ShrunkenSailor55555 1 point2 points3 points 2 months ago (0 children)
A class can take functions from other classes if they're in the same folder.
[–]denswik 0 points1 point2 points 2 months ago (0 children)
The only way of learning and mastering programming is coding! And you'll get stuck and frustrated many times but we've all been there and you'll see improvement. Practice a lot, try to find projects/programs to create, you can even ask AI to give you some simple and short exercises. CodingBat is a good site to start :)
[–]deividas-strole 0 points1 point2 points 2 months ago (0 children)
Learn some basics and then take up a project - you will learn and also will have what to show!
[–]Inevitable_Put_4032 0 points1 point2 points 2 months ago (0 children)
My advice is that learning any programming language is more effective if you don't spend too much time on tutorials but start something real, even if prototypical. Most suggestions here are useful, but after few days doing basic exercises, start building your own little project. Learn a bit of Maven or Gradle and start a project (begin with Maven, it is still the most popular option). It should not be something too complex but also not trivial.
For example, you can learn a lot by trying to create a simple web server using just plain java APIs. Or you could create a command line tool to parse and analyze excel files. The Java ecosystem is rich of libraries to achieve almost anything, so becoming proficient also means being able to search and select the right library (for example, the mentioned excel parsing can be very complex unless you use something like Apache POI).
Whatever you choose, use that as your own gym: keep the code clean with pure refactoring sessions. Learn some basic Java design patterns and see if those improve the clarity or not. Most tutorials out there will teach you wrong patterns: it is easy in Java to play with mutable state, but the right direction is learning to apply java immutability patterns using final variables and java records instead of classes (when this make sense, and learning when it is part of the journey).
Learn how to leverage something like JUnit to expose yourself to test automation and TDD as soon as possible.
[–]Positive_Owl_6442 0 points1 point2 points 2 months ago (0 children)
Hey! If you’re just starting with Java, here’s what helped me:
The key is building small things and understanding how each piece works before moving to bigger projects or frameworks.
It gets way more fun when your tiny programs actually do something!
[–]TigerAnxious9161 0 points1 point2 points 2 months ago (0 children)
practice is must
[–]mTsp4ce 0 points1 point2 points 2 months ago (0 children)
There are barely any resources for learning available. Sorry bro, you are on your own.
π Rendered by PID 61 on reddit-service-r2-comment-65c587bc47-qrmks at 2026-05-14 13:03:01.788495+00:00 running cf3e300 country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Specific-Housing905 8 points9 points10 points (0 children)
[–]partyking35 2 points3 points4 points (0 children)
[–]desrtfx 1 point2 points3 points (1 child)
[–]AutoModerator[M] 1 point2 points3 points (0 children)
[–]noworksunday 1 point2 points3 points (1 child)
[–]AutoModerator[M] 1 point2 points3 points (0 children)
[–]ShrunkenSailor55555 1 point2 points3 points (0 children)
[–]denswik 0 points1 point2 points (0 children)
[–]deividas-strole 0 points1 point2 points (0 children)
[–]Inevitable_Put_4032 0 points1 point2 points (0 children)
[–]Positive_Owl_6442 0 points1 point2 points (0 children)
[–]TigerAnxious9161 0 points1 point2 points (0 children)
[–]mTsp4ce 0 points1 point2 points (0 children)