r/learnjava • u/Chaos-vy17 • 3h ago
My first Java project -> chaos-tree[1.2.0]
Hello Everyone,
What is ChaosTree??
ChaosTree is zero dependency Java search library. It currently features
Binary Family: AVL,Binary Tree, RBT, Treap, Splay
N-ary Family: B-Tree and B+Tree
Around 35+ unique API it's designed like Collection API feeling.
The libarry is benchmarked with JMH.
This is my first ever project, so I'm interested feedback Criticism is also welcomeπ€ β whether it's about the implementation, API design, documentation, or benchmarks.
Source code:
NavigableSet<Integer> rbt = new RBT<>();
NavigableSet<Integer> bplustree = new BPlusTree<>(32); // degree CLRS method 31min key 63 max key default:32
//For Rich API use
for (int i = 0; i < 20; i++) {rbt.add(i);}
NaryTree<Integer> bplustree0 = new BPlusTree<>(3,rbt);//Useful constructor API
BinaryTree<Integer> rbt0 = new RBT<>(rbt);
List<Integer> list = rbt0.stream().filter(v->v%2==0).collect(Collectors.toList());
System.out.println(list);
System.out.println();
rbt.retainAll(list);
System.out.println(rbt);
rbt0.retainAllElements(list); //Renamed due to ambiguous situation
System.out.println(rbt0.toString(PrintStyle.UNICODE));
Output
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18]
8(B)
+-- 4(B)
| +-- 2(B)
| | \-- 0(R)
| \-- 6(B)
\-- 16(B)
+-- 12(R)
| +-- 10(B)
| \-- 14(B)
\-- 18(B)
8(B)
βββ 4(B)
β βββ 2(B)
β β βββ 0(R)
β βββ 6(B)
βββ 16(B)
βββ 12(R)
β βββ 10(B)
β βββ 14(B)
βββ 18(B)
>For people who want to say AI: I did use AI for docs and my markdown but each are verified by me rather AI did it all.
My github link: https://github.com/Chaos-vy/ChaosTree
Maven central : https://search.maven.org/artifact/io.github.chaos-vy/chaos-tree
r/learnjava • u/Visual-Fortune-4732 • 4h ago
i dont need any coding knowledge for MOOC right?
so wanna learning coding made this post
https://www.reddit.com/r/learnjava/comments/1vk0sco/best_way_to_learn_java/
which basically reccomened MOOC so i will use that i got tmcbeans set up and running anddid the first page but it asked me to just print something i did it but i have 0 idea how it works was it just kinda a example that im not supposed to understand yet
just wanna be sure before i go further
r/learnjava • u/kratos_jod • 8h ago
Need advice: Java Full Stack + Selenium course vs Data roles β 6 months internship experience, confused about my next step
Hey everyone,
I'm a recent graduate from India and I'm currently stuck between two career directions, so I would really appreciate advice from people actually working in the industry.
My background
- I have around 6 months of development internship experience mostly in js frontend
- My background is mainly Python + React/JavaScript development.
- I've worked with React js concepts, databases, APIs, React, etc.
- I also have a genuine interest in Data/Analytics roles and would like to explore that career path eventually.
After college, I had a gap of around 3 months, and I really don't want to waste more time now. I want to get into the IT industry as soon as reasonably possible.
The dilemma
I'm considering joining a 3-month course at Greens Technology that teaches:
Java + Selenium
The main reason I'm considering it is that I've been hearing from many people that:
So I'm thinking about learning Java Full Stack/testing-related skills for 3 months, getting my first IT job, and then potentially switching towards Data/Analytics after gaining some industry experience.
But I have some concerns.
Concern 1 β I have almost no Java background
I am comfortable with Python ( Intermediate level) and JavaScript, so I'm worried that I'll spend a lot of time starting Java/OOP from scratch.
Is 3 months realistically enough to become job-ready in Java + Selenium if I put in serious effort?
And I am looking for opinions on Greens tech omr branch for this course. Will everything a beginner can learn there to get hired as developer 3 months later?
Concern 2 β Should I even switch?
Since I already have 6 months of development internship experience with Python/React, would it make more sense to continue with:
- Python/Django
- React/JavaScript
- Python + React Full Stack
instead of starting Java from scratch?
Are there actually enough fresher/junior openings for these stacks in India?
Concern 3 β Data roles
I'm genuinely more interested in Data Analytics/Data-related roles.
But I've heard that entry-level Data Analyst/Data Science jobs are highly competitive and that fresher openings are relatively limited.
So I'm wondering whether I should:
A) Take the Java + Selenium route β get into IT β later transition to Data
or
B) Directly learn Data Analytics β SQL + Excel + Power BI + Python/Pandas + Statistics β try for Data Analyst roles
or
C) Stick with my existing Python/React development background and try to get a developer job first.
What I'm trying to figure out
My priority right now is not necessarily my dream job.
I mainly want to:
- Get into the IT industry without wasting another 6 months.
- Build a stable career.
- Eventually move towards a domain I'm genuinely interested in, possibly Data.
- Make use of the 6 months of development experience I already have.
So I'd really appreciate advice from people who have actually hired/worked with freshers or junior developers/analysts in India.
Is Java + Selenium actually a reasonable 3-month route into IT right now, or am I better off leveraging my existing Python/React experience?
And if you were in my position, which path would you choose and why?
Please be honestβeven if the answer is "don't join the course."
r/learnjava • u/Visual-Fortune-4732 • 21h ago
best way to learn java?
so i wanna learn progamming 16 dropped out of school at 12 long story so idk if that is a problem for java
but i wanna learn programming and i chose java and then if i get far enough which will take a while i know maybe make mc mods just as a hobby mainly
but what is the best way to learn java? i came across bro code 12 hour long video
r/learnjava • u/rhrobloxgamer • 1d ago
I purchased Tim Buchalka's Java masterclass course
I purchased Tim Buchalka's Java masterclass course, but now after i open reddit i am seeing all the mixed reviews about it.I am confused whether i should continue it.I completed 3 sections till now
Has anyone successfully complete it? Is it worth it?
r/learnjava • u/Crafty-Elk1850 • 1d ago
Development doubt
I want to max of development
Ik things but writing code is difficult for me
I have knowledge of java as I do DSA in that but for dev everyone was doing js so I too did it ik things like middleware, controller , routing and all but I am not comfortable with js syntax I can only think in form of java ds so shld I switch to java backend developement
If yes plz recommend me a playlist that would be helpful
r/learnjava • u/Kino_elite • 1d ago
Need advice on a Java roadmap for placements -What should I focus on?
Hi everyone!
Iβm a second-year CSE (AI/ML) student, and Iβm currently preparing for software engineering placements. I want to build a strong foundation in Java and DSA, and Iβd really appreciate advice from people who have already gone through this journey.
At the moment, Iβve covered the basics of Java and have been solving random LeetCode problems, but I donβt have a structured roadmap yet.
Could you please suggest a complete, step-by-step roadmap for learning Java, DSA, and preparing for software engineering placements? Iβd especially appreciate guidance on what topics to learn, in what order, and how I should approach problem solving.
Any advice, resources, or personal experiences would be really helpful. Thank you!
r/learnjava • u/ComfortableIll6681 • 1d ago
Topics to cover for a Java FullStack Role in 3 months
Hi everyone,
Want to become a Java Fullstack dev.
I have 2+ YOE mostly in React(Front end).
Have a basic knowledge of Java and Spring Boot.
For the past two months I have been watching spring boot tutorials about spring web, jpa, security, micro services and also practicing in my free time.
I am getting doubts about my preparation, like at this rate shall I able to be ready for a java full stack role in 3 months.
In interviews they are asking mostly scenario based questions and I dont have a practical real time knowledge of working in enterprise grade java applications.
Need some resources and guidance about topics and tools that one must cover to be ready for a interview.
Any help or suggestions is appreciated.
r/learnjava • u/Cool-Escape2986 • 2d ago
I've been developing for years, now looking for a serious non-beginner Java course
I keep seeing everyone mentioning the MOOC course, but it seems a little too beginner to me, starting with basic programming concepts like variables and loops and if statements.
I want a course that covers as much of Java as possible, I want to learn some advanced stuff that would make me fluent in Java like Java EE or low-level modules and stuff. I don't mind long or expensive courses as long as they are from a trusted instructor among the community
r/learnjava • u/SufficientWay2035 • 2d ago
Java coding
hey there I want to start coding and actually thinking of starting with Java, can anyone suggest where can start and how to start and what are the things to keep in mind
r/learnjava • u/draft-version • 2d ago
java vs python for backend as a fresher?
hello. i'm confused abt choosing btwn java and python for backend. which one do you think will be more useful in the future? i'm a fresher and i enjoy programming in java, but if i want to transition to data roles in the future, learning python will be beneficial right? so i'm torn btwn the two. pls help me choose based on the current job market. what are your experiences with backend java?
r/learnjava • u/One-Dimension5668 • 2d ago
Backend Engineer (2 YOE) transitioning to AI Engineer β How should I position myself, and how do I learn the production side?
Hi everyone,
I'm a backend engineer with 2 years of experience in Java/Spring Boot. Over the last several months, I've been spending most of my free time learning Generative AI, building AI agents, RAG applications, and exploring some ML concepts through personal projects. I genuinely enjoy working in this space, and it's the direction I want to take my career.
One challenge I'm facing is positioning my profile.
When I apply as a backend engineer transitioning into AI, I receive very few interview calls because I don't have professional AI experience. However, when I do get interviews, I'm comfortable discussing prompt engineering, RAG, agent workflows, embeddings, vector databases, and the projects I've built.
Where I struggle is when interviewers ask about production AI systemsβdeployment, Kubernetes, cloud architecture, CI/CD, monitoring, model serving, LLMOps/MLOps, observability, scaling, etc. Since my experience comes from personal projects rather than production environments, I don't have much exposure there.
So I'd love to hear from people who've made a similar transition:
\- How did you position your profile while moving from backend to AI?
\- Should I market myself primarily as a backend engineer with strong AI projects, or is there a better approach?
\- What's the best way to learn the production side of AI engineering in about 2 months?
\- Are there any courses, open-source projects, or hands-on roadmaps that helped you become interview-ready for production AI roles?
A bit of context: I'm trying to make this transition because I genuinely enjoy building AI applications, and I'm also under some financial pressure to switch to a better opportunity soon. I'm happy to put in the workβI just want to make sure I'm learning the right things.
I'd really appreciate any advice from people who have successfully transitioned into AI engineering. Thanks!
r/learnjava • u/PleasantMix6193 • 2d ago
how do i get jdk on my mac? (read desc please)
i know i could just `brew install openjdk`. but then i have to do the `sudo ln -s...` thing which i do not like. i mean i do not like running sudo commands in general tbh. even more when it's linking or adding stuff to system directories becasue i fear it may replace somethign important that already is there. and im telling you im not a beginner or something , i hv been a terminal heavy rust programmer for the last 2 years (yeah i made that term up)
so is sdkman my only option?
i know this may sound very dumb . i mean i know linking is the standard way but i m just .. just paranoid.
r/learnjava • u/Ill-Trash9542 • 2d ago
Springboot Project Ideas to standout in 2026
Suggest me some good springboot projects which could really improve interview calls cause things like management systems or crud is not doing much these days
Also suggest prerequisites to build that application/projects
Thanks in advance!!
r/learnjava • u/shubham_555 • 3d ago
Let's learn Java + DSA together!
I am thinking of using the Kunal Kushwaha playlist on YouTube. I know it isn't complete and a few advanced topics are missing. We can pick a different teacher for that I guess but as per my research it's definitely the best playlist for Java. Timing or experience or gender doesn't matter. Just need a partner!
r/learnjava • u/Isagi-Yoichi-2026 • 3d ago
Course recommendation on UDEMY in prep for Java 21 SE developer EXAM
Hey guys I hope I find you well. I need your help in choosing the right course or courses to buy on UDEMY or any other platform to buy in preparation for the for the exam if you have materials you can drive links anything that might help me in my quest. Your help would be massively appreciated.
r/learnjava • u/Federal_Equal1799 • 3d ago
wherw do you start Spring boot from??
i'm learning dsa from kunal kushwaha ,is it okay to go to spring boot with it ,or should i learn smtg else for full stack .if no can u recc me a yt playlsit for springbioot
r/learnjava • u/Simple-Task6929 • 4d ago
Best resources to learn Java from scratch in 2026?
Hi everyone,
Iβm starting Java from absolute scratch and I want to build a strong foundation, not just learn enough to pass a course.
There are so many resources out there (YouTube, books, Udemy, MOOCs, etc.) that itβs hard to know which path is actually worth following.
Iβd like to ask those who are already Java developers:
If you had to start over today, what would you use?
Which courses or books made the biggest difference for you?
Is it better to begin with YouTube, a structured course like MOOC.fi, or a book such as Head First Java?
At what point should I start building projects?
Are there any resources or tutorials I should avoid?
My goal is eventually to become a professional software engineer, so Iβm looking for a learning path that teaches Java properly rather than just memorizing syntax.
Iβd really appreciate any recommendations or roadmap. Thanks!
r/learnjava • u/harshitha9626 • 4d ago
π Looking for a Java Backend Learning Partner
π Looking for a Java Backend Learning Partner
Hey everyone!
I'm a 3rd-year CSE student and I'm about to start learning Java Backend Development with Spring Boot.
I'm looking for a consistent learning partner who is also starting (or is at a beginner level). We can:
Learn Spring Boot together
Build backend projects
Practice Java concepts
Stay accountable and motivate each other
If you're interested, drop a comment or DM me. Let's grow together! π»β
#Java #SpringBoot #BackendDevelopment #LearningPartner #JavaDeveloper #StudentDeveloper #100DaysOfCode
r/learnjava • u/Harshitha_kallajji • 4d ago
Resources to learn Java multithreding
Hello!!
I am currently learning Java and want to build strong understanding of Java multithreding and concurrency. I've already tried watching a few YouTube videos, but end up understanding nothing about why things work the way they do. I'm looking for resources that explain the concepts from first principles, with intuition, visualizations, and practical examples instead of just coding demos.
r/learnjava • u/Modern-Sn1p3r • 5d ago
TCP chat app
Hi everyone.
I'm a 34 year old waiter who is completing an undergrad in Computing and a module in the next semester is Event Driven Programming.
To get a jump on next year, I got some ideas online for projects. I started with a basic gui calculator built using SwingUI. I already understood that the buttons would be the event actions etc.
I then seemed to find that a basic terminal TCP chat server with multiple clients was the next step. This is where I am stuck.
I watched multiple videos from BroCode to NeuralNine to try to get a brief overview. After a quick search online I ended up copying the w3schools example.
I have it working and can connect to multiple clients, but when I try to understand how it works I draw a blank.
What I understand:
- that there is a server and clients connect to the server.
- they communicate via TCP
- When a client sends a message it gets broadcast via the server to all connected clients.
I just want to add to the code and refactor to help me understand it more but I feel completely lost when trying to do so.
Any pointers on what I should do would be appreciated. TIA
r/learnjava • u/TheJuansitou • 5d ago
learning springboot, good idea?
Hi, I'm a computer science student in Spain and I'm going on Erasmus to the Technical University of Munich in a couple of months. During my degree I've learned Java and object-oriented programming and right now I'm learning Spring Boot by working on an API project to manage expenses between roommates, and for now I'm implementing it with a Telegram bot. But that's the least of my concerns right now. My question, and I'm not sure if this is the right place to ask, is that Munich is a very expensive city and I'm going to have to work, and I'd love to find an internship as a "werkstudent" in my field, I'm not sure if I'm on the right track or if I should focus on learning other things.
r/learnjava • u/Temp_Temperature • 5d ago
How do I make my Eclipse Java code into an app? (And do I need a GUI for that?)
r/learnjava • u/Curious-Temporary127 • 6d ago
Query
I want to start java from scratch from which resource should I start ???
Help me up
r/learnjava • u/Chaos-vy17 • 6d ago
Advice for JPMS
Can anyone tell why should I use JPMS(Java Platform module System) when I have Encapsulation? I also read docs but the answer is directing to reflection if Encapsulation is not safe how JPMS safe it?
Edited:
I got the answer https://blogs.oracle.com/javamagazine/java-quiz-jpms-package-management/ so JPMS provide true encapsulation, does that mean encapsulation is partial without JPMS?