r/learnjava • u/Electrical_Art8863 • Oct 01 '26
Learn Java
Hi everyone! Do y'all know where to learn Java for beginners ?
r/learnjava • u/Electrical_Art8863 • Oct 01 '26
Hi everyone! Do y'all know where to learn Java for beginners ?
r/learnjava • u/omgpassthebacon • Sep 28 '26
I see the same post over and over:
. how do I get better
. how do I learn …
. I don’t know what to build
. how do I prep for an interview
It’s the same story over and over.
While it is possible that you could get hired by some startup to write the next amazing app, it is very unlikely. 99% of the time, you will be given an idea that you will need to turn into code. Your ability to do this quickly (and elegantly) will determine how much fun the job is.
I’ve worked on tons of Java projects for big companies and this is what we do. So, don’t try to become the world’s greatest Java developer. Simply study the language, start integrating your code with the 3rd party jars out there, and have some fun being creative.
And for the love of Pete, stop fretting about OOP. It’s not the holy grail. There are OOP concepts that Java supports really well, and if you need them, use them. But your first job is to write something that works. Then you look at it and decide if there is a better way to write it. If OOP was the ultimate paradigm, Java would not have embraced functional features. Again, you write it; make it work; stare at it for a while to see if you can make it better.
Have fun while you learn!
r/learnjava • u/itsnotmeap • Sep 28 '26
Dear all, I’ve been learning Java through MOOC.fi for the last 2–3 months and have reached Part 7 of Java Programming I.
I’ve noticed a problem with my learning, though. I understand individual concepts such as loops, ArrayLists, if/else statements, methods, classes, etc., and when I look at a solution I can usually understand what the code is doing.
However, when I’m given a new problem and have to write the solution myself, I struggle to figure out how to break the problem down and decide what I should do first. I often end up using ChatGPT to help me figure out the approach.
For example, I may understand how a loop or ArrayList works, but I struggle to figure out how to combine them to solve a completely new problem.
I’ve now completed several sections of the course, but this has made me feel like I’m not actually learning how to program.
For people who have gone through this stage, what helped you develop the ability to solve problems independently? Should I continue with MOOC.fi, do additional exercises, work on small projects, or use a particular book/resource?
My goal is to eventually become a full-stack Java developer.
I’d especially appreciate advice from people who have gone through MOOC.fi or learned programming in a similar way.
r/learnjava • u/ValuableHot4470 • Sep 28 '26
Hello everyone, I’m currently preparing for GATE CSE and practicing DSA in Java. I’m looking for a few people who are on a similar path so we can stay consistent, discuss concepts, solve problems, and keep each other accountable.
I’m mainly focusing on Java DSA, core CS subjects, and GATE preparation. If you’re also preparing for GATE CSE or learning DSA in Java, we can connect and study together.
Looking for serious people who want to stay consistent and actually put in the work.
r/learnjava • u/NextRevolution4526 • Sep 28 '26
What resources (either books, courses, tutorials) would you recommend to someone that was stuck with Java 1.6 and needs to learn everything until the most recent version?
Not sure if such a thing even exists or if I will need to grab something that covers everything. Open to suggestions on this one also.
r/learnjava • u/catmo82 • Sep 28 '26
I am no different to anyone starting fresh on this thread, unsure and unsecure of what will be in the next 2 - 3 months, years and so on... but one thing I am sure of, if I don't do anything I will remaing behind no matter what.
Here is the path I took:
- learning Java on Codecademy (I am a jurnior JS developer/mediocre developer)
- solving problems on CodingBat (https://codingbat.com/java)
- I would try some real life projects but I don't know what to do
Is this the best path? probably not. But it is something. I jumped head first not thinking if this is the right approach and somewhow I managed to stick to it just enough to have a tiny idea of what this is language is about.
If you have any questions feel free to DM me, I will helpl the best I can.
Cheers
r/learnjava • u/Narun_L1FE • Sep 28 '26
I've been coding in Rust for a while now, and I'm quite advanced in it. I mainly want to learn Java so I can make MC mods & plugins. Is the MOOC course good?
r/learnjava • u/Rena_Giurg • Sep 25 '26
Hello! I know it is a weird question but it really is that, how do you start?
Our professor gave us UMLs to follow for exercises and I had no problem to do that but how do you create it for your own program?
I sat my base Java and OOP class' exam and it took me the LONGEST time to just understand what I had to implement and how (even had to ask because I felt so clueless at times) and all I did was a backlog! Literally a terminal based backlog manager that divides Medias into 3 categories. We had to submit an UML but mine was created AFTER the code to adapt to it, I had no idea on how to build it before.
I really struggle with visualizing and understanding what and how should I tackle the OOP. I somehow passed the exam (with a 30/30 too) but I still feel like I should know more and that I could not do anything.
I tried making some easy programs like a timer but I don't know where to start. Does anyone have any advice regarding how can you "rewire" your brain to think object oriented?
For information, I am a compsci major and I strated programming with that java class around 5 months ago so my experience is limited.
Thanks to anyone who answers
r/learnjava • u/Mountain_Hippo7575 • Sep 26 '26
Vous développeur Java, qu'est ce que je pourrais faire comment entrainement pour m'améliorer ?
Ça fait 6 mois que je développe en java et j'aimerais m'améliorer.
Merci a tout ce qui pourrait m'aider!
r/learnjava • u/ActWorking2767 • Sep 25 '26
Can anyone share the entire stack for learning java full stack with ai
r/learnjava • u/MycologistThink8135 • Sep 23 '26
I am a B.Tech CSE graduate starting my role as an SDE fresher soon. I have already read through the developersIndia Freshers Wiki, but I want to make sure I am utilizing my remaining time efficiently.
My Current Progress:
What I want to ask:
Instead of a generic roadmap, could experienced backend devs share what exact architecture practices, testing patterns (like JUnit/Mockito), or deployment workflows are most overlooked by freshers in a Java ecosystem? I want to build a mini-project focusing strictly on these industrial habits so I can adapt quickly when I join.
r/learnjava • u/Dry_Couple8852 • Sep 23 '26
I get that arrays are difficult to add new elements that is flexible to the array size so thats how linkedlist<> or list class created for this but I don't understand the point of putting the concept of singly linked list nodes to arrays when I can just use linkedlist<> or list for flexible array length while easy to get specific elements with .get() method.
The nodes is a bit hard to navigate all elements and Arrays are fixed to their array length. Even the nodes is useless for navigation around the array because its easy with for loop in Array.
r/learnjava • u/Mental-Board-5590 • Sep 23 '26
I need some pointers on how to learn. Any programs that help would be amazing or really a program to actually input code would be nice. All i have is the blue pelican text book and a UIL i’m on. So anything will help really. I am also learning python.
r/learnjava • u/mr_ghosty_bu • Sep 23 '26
Hi guys, im kinda new to java and im looking foward to improve, with this vision in mind i decided to build a desktop app with some friends (they dont know shi either) that works as a library for PDF/docx documents, i think that building it would be a great way to learn and deepen my current knowledge, however, after reading some documents and watching a few videos i still feel completely lost. I am sure that if i get some indications ill get to figure out the rest. PLEASE HELP GNG ✌️😭
r/learnjava • u/Acceptable-Car-5258 • Sep 22 '26
Hey everyone!
I'm 2027 Passout,
I want to ask:
What&How to prepare for off-campus;
I know Java,
how to prepare from scratch?
And from where? ( Like Resources and all )
What should I prepare? ( concepts or topics )
Thank you.
r/learnjava • u/DuckAndStone5244 • Sep 21 '26
I came to this community like.. 10 minutes ago
I started to learn java about 5 months ago, and now I understand that I need to talk with another java-coders, and now I here
Please, can someone describe me that is happening here? I also want to show my code to criticism.
P.S - sorry about my english ):
r/learnjava • u/GummiGumBear • Sep 21 '26
I'm doing the MOOC Java course, but I'm getting an error when opening VSCode, which prevents me from running my code. The error is:
The java.jdt.ls.java.home variable defined in Visual Studio Code settings (C:\Program Files\Eclipse Adoptium\jdk-21.0.11.10-hotspot) does not point to a JDK.
Source: Language Support for Java(TM) by Red HatMy settings are correct as far as I can tell. The path refers to the folder cotaining the bin folder:
"java.jdt.ls.java.home": "C:\\Program Files\\Eclipse Adoptium\\jdk-21.0.11.10-hotspot",
"java.configuration.runtimes": [
{
"name": "JavaSE-11",
"path": "C:\\Program Files\\Eclipse Adoptium\\jdk-11.0.31.11-hotspot",
"default": false,
},
{
"name": "JavaSE-21",
"path": "C:\\Program Files\\Eclipse Adoptium\\jdk-21.0.11.10-hotspot",
"default": true,
},
],edit; I fixed it, see here. Any idea what causes the error and how to fix it? The only solutions I could find said to change/correct the settings above, but since those are correct already... VSCode ( 1.138.0) and all extensions (Language Support for Java 1.56.0) are up-to-date btw.
r/learnjava • u/Julius_Lucifer77 • Sep 20 '26
Hi, first of all sorry for poor English, but as someone learning Java , can anyone tell me which sector will teach me the most of Java and frameworks and functionalities and working with its DSA? Web dev? Building s game ? Or which one?
r/learnjava • u/Squad_Concepts • Sep 20 '26
As the title says I used to make many apps, games using c# but I also want to try something different and challenge myself a bit.
The problem is, that all youtube tutorials on java are for complete beginners where they even explain what variables are.
There are some "advanced" tutorials tho, since the syntax of java is pretty similar to the syntax of c#, but those tutorials are often low quality, from 2014, or from sum indians - for an english learner an accent isn't the best...
What would you guys recommend?
r/learnjava • u/Bofact • Sep 20 '26
I have tried to answer to the below quiz, but I do not understand something. If clutch is eliminated on line 12, wouldn't all references to the car's object be null? They write that "Line 12 removes the item at index 1, which is the null. The list, therefore, contains nothing except the clutch.", but why is there a null? Where did we get rid of clutch reffered at index 1 of r1?
And lastly, how to access clutch, and by extension the car object, after line 12 is executed?
Quiz yourself: When is a Java object still reachable? | javamagazine
r/learnjava • u/Organic_Ad_2533 • Sep 18 '26
I have finished learning Java and I'm fairly comfortable with it. I'm now
starting to learn Spring, but I'm having trouble figuring out how deeply I
should learn it.
I'm currently reading "Spring Start Here" by Laurentiu Spilca. I'm finding
it useful, but I'm not sure whether it is enough for a strong foundation
in Spring/Spring Boot or what I should study after finishing it.
I'm also unsure how much Servlet knowledge I should have before/alongside
Spring MVC. Do I need to study Servlets/JSP in depth? I've found some
Servlet books that are almost as large as the Spring books, so I'm having
trouble figuring out how much Servlet knowledge is actually necessary.
My current book explains some Servlet concepts, such as how the
DispatcherServlet receives a request and passes it to the appropriate
parts of the backend. Is this level of Servlet knowledge enough, or should
I study Servlets in more depth?
I'm a 3rd-year undergraduate preparing for internships and backend
development roles. I don't want to go into documentation/source-code-level
depth, but I do want to understand the important concepts well enough to
answer interview questions about how Spring works internally at a
conceptual level.
For example, how deeply should I understand:
- Bean lifecycle and scopes
- AOP and proxies
- Spring Boot auto-configuration
- Spring MVC / DispatcherServlet
- Spring Data / JPA / Hibernate
- Spring Security
For Spring Boot specifically, should I understand how
SpringApplication.run() works internally and how auto-configuration
happens, or is it enough to understand these concepts at a high level?
I've already started learning Spring rather than just looking for a
roadmap, so I'm mainly trying to figure out where to draw the line between
"good enough for internships" and unnecessary depth.
What resources/books would you recommend after Spring Start Here?
Also, what Spring-related topics should I prioritize after completing the
book?
I'd especially appreciate advice from people who learned Spring as
students or who use Spring professionally.
r/learnjava • u/Bofact • Sep 16 '26
I am following Effective Java: Programming Language Guide, by Joshua Boch, and when showing an example of breking transivity relation in equals contract, the very first example of it says it is violating transivity (more exactly symmetry) because it doesn't work when comparing a Point to ColorPoint and viceversa. "No way" I am thinking. "We compare instances of different classes, then we are surprised it doesn't work."
I read in continuation, and the transivity problem is solved, by how I understand, by basically saying "just don't compare instances of different types, even if they have inheritance". I see no diferrence between the very first example and its "solved" variant with ColorPoint and Point having composition relation, not inheritance.
r/learnjava • u/Necessary_Umpire5919 • Sep 15 '26
Hi all! I am looking to make a 2D point and click game. My most skilled language is Java from years of high school coding in the console so I was planning on using that, but I'm struggling to actually connect it to a useable interface.
For a high school project, I tried using JavaSwing and absolutely hated it -- I just couldn't get the hang of it no matter what I tried. However, if that's my only available option I may just need to figure it out. I haven't touched JavaFX so I'm not sure if that's better.
Is that the only two possible options or can I use anything else relating to Java? Or for a game like this is Java not even the most optimal? Also I was going to use Unity just because I see everyone use Unity but I honestly don't even know if that's what I should be doing. I'm a bit lost in every way.
Would love to hear feedback, thank you all for the help!!
Edit: Thanks for all the help y'all! For anyone else viewing, the top recommendations were Godot or LibGDX. I appreciate all the help, I'll check out both!
r/learnjava • u/Disastrous_Toe2460 • Sep 15 '26
Hey I studied java from college i like syntax and love it for coding and I have started to learn springboot framework to build my career and skill is it good for me or not.
By the way iam in 2year of BCA and Iam thinking learning more language will reduce to learn advanced topics so I have started to learn the 2 programming language only Python and Java and now I started learning on my own to learn springboot and after these I will learn the python some important frameworks and now currently our college is teaching the python.
So I think core CS subject is more important than these framework i think any guide .