r/JavaProgramming • • Jan 19 '26

What sources would u recommend to learn Java OOP

24 Upvotes

Hello everyone im trying to learn Java OOP and it seems like a big mountain of information. Which sources would u recommend a beginner to learn it from. I dont really have money for courses tho so pls keep that in mind.

FYI For beginners like me just write the code dont wait on to be perfect.


r/JavaProgramming • • Jul 27 '26

Officially documenting my Java dev arc 🚀☕

23 Upvotes

Hi everyone! 👋

I'm a Java Full Stack Developer learning Spring Boot, React, and System Design.

I'll be sharing projects I build, interview prep, wins, bugs that humbled me 😅, and everything I learn along the way.

Hoping to learn from this community, contribute where I can, and connect with fellow developers.

Let's build cool stuff! 🚀☕


r/JavaProgramming • • Jul 02 '26

Senior Java/Spring Boot engineers — please drop the interview questions you've been asked or ask others (8–10 YOE level)

23 Upvotes

I'm preparing for senior Java/Spring Boot interviews (~8–9 YOE level) and I need YOUR help.

Please drop in the comments:

- Questions you've been asked in senior interviews

- Questions you ask candidates when YOU are the interviewer

- Anything that tripped you up or that most people get wrong

I'm looking for real questions across these areas:

**Core Java & JVM**

- GC tuning, memory model, class loading, thread dumps

- Concurrency — ExecutorService, CompletableFuture, virtual threads (Java 21)

**Spring Boot Internals**

- Auto-configuration, bean lifecycle, AOP proxying

- Spring Security — JWT, OAuth2, filter chain

- Spring Data JPA — N+1, lazy loading, optimistic locking

**Caching**

- Redis patterns, eviction, cache invalidation

- Thundering herd, cache stampede prevention

**Kafka & Messaging**

- Partitioning strategy, consumer groups, exactly-once semantics

- Dead letter queues, retry patterns

**Microservices & System Design**

- Saga pattern, circuit breakers, distributed tracing

- API gateway, service mesh, inter-service communication

**Deployment & Observability**

- Kubernetes — HPA, rolling updates, pod disruption budgets

- Blue-green vs canary deployments

- OpenTelemetry, Prometheus, Grafana, structured logging

Please share the actual question text if you can — even a rough version of how it was asked. Bonus points if you share what a great answer looks like vs a mediocre one.

Thank you in advance!


r/JavaProgramming • • Jun 23 '26

Anyone Starting Java Right Now?

23 Upvotes

I'm just starting my Java learning journey and I'm looking for others who are also starting from the basics.

If you're also starting Java now and would like a learning partner or peer group, send me a DM.


r/JavaProgramming • • Apr 30 '26

Do I Need to Learn Python for AI as a Java Developer?

23 Upvotes

I’m a pre-final year engineering student with hands-on experience building Java-based web applications (mostly using Spring Boot, REST APIs, and authentication systems).

Lately, I’ve been trying to figure out my next step. With how dominant Python seems in the AI space, I’m honestly a bit confused about where I should focus. As someone coming from a Java background, I see options like Spring AI and LangChain4j, but most real-world AI discussions, tutorials, and projects seem heavily centered around Python.

I’m not sure if I should:

  • Stick with Java and explore AI through its ecosystem

  • Start learning Python specifically for AI/ML

  • Or try to combine both in some way

My goal is to stay relevant for upcoming placements while also building something meaningful in AI.

If you’ve been in a similar situation or have experience transitioning into AI from a Java background, I’d really appreciate your advice. What would you focus on if you were in my position?


r/JavaProgramming • • Apr 27 '26

How MySQL Works (Step by Step)

Post image
23 Upvotes

Learn what MySQL is, how MySQL works (step by step), history, features, applications, and advantages.
https://www.scientecheasy.com/2026/04/what-is-mysql.html/


r/JavaProgramming • • Jan 25 '26

Java Backend 10 projects journey

23 Upvotes

Hello everyone,

I’m currently learning Java backend development. So far, I’ve worked with Swing, Servlets, JSP, and a bit of Spring Boot (not much yet). I know there are tons of tutorials on YouTube, but honestly, they feel boring and repetitive-just writing the same things again and again.

So I’ve decided to build 10 projects and learn through them. I’ll take help from ChatGPT since I’m a beginner and don’t really have anyone to discuss things with, but I’ll write all the code myself after understanding it properly and complete each project on my own.

Right now, these projects feel basic, but I believe strong basics are the best way to learn. I’ll be sharing my progress here.


r/JavaProgramming • • Dec 07 '25

Day 9 of Learning Java

23 Upvotes

Hello guys, hope your Sunday went well. I honestly couldn’t get myself to study much today. Maybe it’s just the Sunday feeling, I’m not sure. But I still managed to read a small topic about the final keyword in Java. That’s all for today. See you tomorrow.


r/JavaProgramming • • Oct 03 '26

Modern Inventory Dashbaord in Java Swing

Post image
22 Upvotes

Hey everyone!

I’ve been working on a modern inventory management dashboard in Java Swing and wanted to share it here.

I tried to make the UI feel a bit more modern than the typical Swing applications, with a dashboard, sidebar navigation, cards, tables, charts, and the usual inventory features.

I also made a video showing how I built it, and I’ve included the source code for anyone who wants to play around with it or use it as a starting point for their own project.

🎥 Video: Click to Watch.https://youtu.be/xB2781k0lqU

Would love to hear what you guys think. Any suggestions for features or improvements?


r/JavaProgramming • • Jul 30 '26

game engine ENTIRELY made in java 25

22 Upvotes

r/JavaProgramming • • Feb 01 '26

JVM Architecture Explained

22 Upvotes

I have published this article on JVM Architecture explaining the every point in brief. This is best to understand the JVM well and if you have an interview in an our or so.

JVM Architecture Explained link


r/JavaProgramming • • Jan 05 '26

Day 21 of learning Java

Thumbnail
gallery
22 Upvotes

Hello everyone,

Today I continued with interfaces, which I started yesterday. I spent quite a bit of time on them, so I didn’t get to tackle DSA (stacks) today.

I learned about dependency injection and the three ways to inject dependencies. The course material also mentioned that there are libraries/frameworks that can handle dependency injection for you.

I was also introduced to the Interface Segregation Principle (ISP). To wrap up the lesson, I solved a quiz where the code was tightly coupled, and the task was to decouple it using interfaces. I used constructor injection to achieve this.

That’s it for today — see you tomorrow 👋


r/JavaProgramming • • Aug 28 '25

Learn java

22 Upvotes

I wanted to start with advance java, I have already completed the bascis and opps concepts. If anyone knows any advanced java course free, if paid(Then help me with where can i get the pirated one).


r/JavaProgramming • • 5d ago

Recommend resources to learn Java in big 2026

21 Upvotes

Hey fellas, I am a 3rd year CSE student. I wanted to learn Java as my primary programming language.

I have wasted a lot of my time in Procrastination and tech stack hopping. But now, I have decided to lock in to java as my programming language for software engineering and DSA as my placements will start in about 7-8 months.

My background:-

I have some previous programming experience with c, python, JS, HTML, CSS. I also had a subject named OOP in Java in my previous semester, I know a few things from it, but mostly I studied it for the sake of Exams only. I have made some vibe coded projects in hackathons too, all of them are web applications.

So I wanted to ask what are some good resources in 2026 to learn Java?

I want to learn Java and then later on get into enterprise tech, backend and microservices. I might switch to cloud and Devops later but it's too far to think about now.

My known resources:-

(1) University of Helsinki MOOC course.

(2) Telsuko 63-hour video

(3) Telsuko's older Java playlist

Are these resources Good enough for the start? If yes, then Can also list what these lack or don't cover?

Thank you for your answer in advance.


r/JavaProgramming • • 12d ago

Let's Practice Java Together - Guess the Output of Tricky Java Snippets!

21 Upvotes

Let's challenge each other with tricky Java code snippets! Guess the output, explain the logic, and learn something new every day. From basics to advanced Java concepts. 🚀


r/JavaProgramming • • Sep 09 '26

Consistency broke🥲

Post image
21 Upvotes

I tried to learn java for straight 5 weeks and I kind of finished it as well till threads, thread priority, etc.
After that, the consistency gone to hell. Had an exhaustive period at office for the last 10-12 days including the weekends. Literally 17hrs of productivity per day on an average.🥲

Need to start again from where I left by quickly brushing off the concepts. Next is collections API.
Will start it now. 🧿✌️☮️


r/JavaProgramming • • Apr 25 '26

Java Multithreading Interview Prep Guidance

21 Upvotes

Hey everyone, I’m preparing for interviews and want to improve my Java multithreading/concurrency skills. I’m mid to senior level experienced, know the basics, but haven’t used it much in real projects. I want to know from the people who are using multithreading in their projects, what’s the best way to prepare practically for interviews? What are the questions asked? Any advice or resources would help. Thanks!


r/JavaProgramming • • Jan 29 '26

Java/ Spring Boot partner needed

21 Upvotes

Hi All,

I am studying for a switch, anybody interested to study/discuss Java, Spring boot topics together.

Pls let me know.

I have 3+ years of experience as Java Developer.


r/JavaProgramming • • Nov 30 '25

Day 2 of Learning java

21 Upvotes

Back again! Today I learned about datatypes, variables, and got my first introduction to arrays. Things are starting to make more sense now, and I’m enjoying the process. See you tomorrow for Day 3!


r/JavaProgramming • • Jul 23 '25

Help with base package!

Thumbnail
gallery
21 Upvotes

This picture is JDK12. Where in JDK21 can I find the tab “base package”? It does not show on JDK21. What do I do to get the base package option?


r/JavaProgramming • • Oct 07 '26

Where should I start, JAVA

20 Upvotes

So I just joined the intern in java. I knew very little basics like array,string, integers whatever,methods,gui .

But here it is a whole different world . Another fellow intern knows so much that I feel ashamed. We are taking same course and same semester yet the difference is sky and bottom. I feel so ashmed😭😭. Where do I start?? I feel like they will remove me cause I literally know nothing

If I have to start learning java to get to their position what should I learn ,where should I start.??

They talking about Crud operations, mapping,getter setter , controller, repository.

Someone please guide me where to start ,what to learn. I think I have 1 month before the boss comes to look how much I know and will decide whether to keep me or not. HELP😭😭


r/JavaProgramming • • Jan 19 '26

Day 26 of learning java

Post image
20 Upvotes

Hello wonderful people,

Today I built a command handler class to route commands to their respective functions. So far, I’ve only implemented the add and list commands.

While integrating the class, I noticed that whenever I add an expense and then try to list it, nothing shows up in the console. After some debugging, I realized that the issue is persistence — the expenses aren’t being saved anywhere.

I’ll need to persist the data (probably using JSON), but I’m not sure how to do that yet. I’m planning to learn it tomorrow and then add it to the project.

See you tomorrow (switched to light mode today because i was coding outside and couldn’t see properly 😂)


r/JavaProgramming • • Jan 17 '26

Day 24 of learning java

Post image
20 Upvotes

Hello everyone,

Created an ExpenseManager class with methods to perform CRUD operations.

Tomorrow i’ll start with parsing command line arguments. I have no idea how to go about this, which makes it more exciting.

See you tomorrow!


r/JavaProgramming • • Oct 16 '25

Day 5 of learning Java.

Thumbnail
gallery
20 Upvotes

Topic - parse practice, nested if statements and string methods

Hi all!

Good session, thank you to @Responsible-Heat-994 for commenting about parsing! Very well explained, I ended up doing some practice problems and picked up the understanding how it's better to use parsing. Makes code more "clean" and prevents undefined behaviour with newlines. Is it good practice to implement this all of the time? because can't you just order them in the sense of --> asking for the string inputs first then asking for other data types? (if you understand what I mean). Otherwise, I also made a project which I will be uploading separately to reddit, which involves everything I've learnt so far. Like always any comments about the code is always welcomed and highly appreciated.

Thanks!