r/learnjava • • Mar 31 '26

Java project

11 Upvotes

In my java course I need to make a project where i have to implement all the 4 basic pillars of OOP and must have at least 5 classes So suggest some unique and good projects that i can do Don't suggest something that is very advanced, I'm just in 2nd year. Also i need to make a class diagram of it.


r/learnjava • • Apr 12 '24

Should I learn Java?

11 Upvotes

I'm a beginner in programming, I already have some basics in Python. I don't know if it's relevant, but I have experience with Linux. I want to work in more traditional companies in something like software (I don't like the web).

Do you think Java its a good choice? If yes, Where should I start?


r/learnjava • • Dec 26 '22

Java project

11 Upvotes

Im looking fo a java project to work on. Has anyone got one???


r/learnjava • • Jan 26 '26

Output 3/10 as 3.3333333333333335?

4 Upvotes

Using IntelliJ on MacOS, if that makes a difference. This is the code:

public class Main {
    public static void main(String[] args){
        double x = 10;
        double y = 3;
        double z;
        x /= y;
        System.out.println("x = " + x);
    }
}

It gave me "x = 3.3333333333333335" as the output. Why did it end in 5 instead of 3? Or even 4?

r/learnjava • • Nov 19 '25

Is Java still relevant

0 Upvotes

How learning java is future safe for a fresher. Will backed roles of java language are impacted by AI in comming future


r/learnjava • • Oct 01 '26

Learn Java

0 Upvotes

Hi everyone! Do y'all know where to learn Java for beginners ?


r/learnjava • • Oct 19 '23

Declaring a variable in java.

4 Upvotes

Hey guys, whenever I declare a variable "a" in java it gets underlined by a yellow squiggle, and shows "the value of local variable a is not used. Is it normal in java, because earlier I used to code in c++ and this is my first time encountering a yellow squiggle.


r/learnjava • • Sep 14 '19

How to get the image displayed.

4 Upvotes

I have created a JForm where the image path is captured. Now I want to display the image from that captured path.

P.S I am using netbeans


r/learnjava • • Apr 26 '16

Where to start learning java for a complete beginner to programming?

4 Upvotes

r/learnjava • • Apr 23 '22

Help

0 Upvotes

any good websites for practicing programming in java for beginners??i already learnt how to code just need to practice


r/learnjava • • Jan 08 '25

Help me learn java to the core

0 Upvotes

I need to learn java from edge to edge as possible to understand and implement java into OS concepts, Building own frameworks, Running java code into production and mush more.

Please try to include with pre-requisites to learn as well


r/learnjava • • Jul 09 '16

Learning Java, is the superintelligent ide hamstringing my learning? (x-post r/learnprogramming)

4 Upvotes

I first started learning programming with CS50 and when learning C there really wasn't an ide for that, closer to a basic text editor. I'm learning Java right now and using Intellij. I'm wondering if it's intuitiveness, autocomplete, and other automated features might be preventing me from learning the basics. They always say repetitiveness is the way you learn, and I'm afraid that the ide is doing too much of the work for me. On the other hand, it's not like these types of features are going to disappear anytime soon, so they will always be "helping" me no matter how in depth I get into programming... Thoughts?


r/learnjava • • Dec 14 '16

I am a high school student taking AP Comp Sci... what next?

4 Upvotes

Previously to this year I have dabbled in Programming (Python, Java) with online tutorials. But, now that I am actively learning it daily in a class I feel a lot more confidant. Are there any projects or further learning I can do, because my class goes at a fairly slow pace?


r/learnjava • • Jan 04 '26

Should I learn "Modules" in java?

4 Upvotes

Hi, I am new in java and now I am in active process of learning it (I have come from c#) to find job. In my education process I have found info about modules - for me it a little difficult and I have found post on Reddit that in real situations/projects it is useless ( not only this opinion but in general) but this post is old (4 years). So my question - should I learn Modules enough good and get some practice project with them or can I go to other topics?


r/learnjava • • Jun 29 '25

Career Selection - Java or AI

4 Upvotes

I am so bemused right now. I know core java and little bit springboot knowledge. Should I go with Java SpringBoot development with AI integration or Should I purely do python with AI concepts. Please advise


r/learnjava • • Aug 16 '25

Spring AI Playground: One UI for MCP Tools, Vector DB (RAG), and LLM Chat

1 Upvotes

Hi all,

I’d like to introduce Spring AI Playground, an open-source project I created to help Java developers easily experiment with and integrate AI models. This project provides a self-hosted web UI for seamless interaction.

MCP Playground Demo

MCP Tools: Connect MCP servers, discover available tool definitions, and run interactive tool calls from the UI.

Vector Database Playground Demo

Vector Database (RAG): Upload documents, create embeddings, and run similarity search across multiple vector stores; plug retrieval into Chat for augmented answers.

Chat Playground Demo

Chat Integration: Switch models/providers (OpenAI, Anthropic, Gemini, Azure, Ollama) and combine with MCP + RAG in one place.

I hope this project helps anyone exploring AI integration in Java applications! Feel free to check it out on GitHub: Spring AI Playground


r/learnjava • • Sep 24 '25

LLMs are giving bad Java code that is old feature, and I want to understand why

0 Upvotes

The method is basic string splitting on regex pattern:

public String[] splitWithDelimiters(String regex, int limit)

I want to split on whitespace and I used \s for regex, but multiple LLMs corrected me to use \\s. My code works with \s as regex pattern, but I'm curious how is it possible that LLMs are making this basic mistake for something that has been part of Java language for so long. I would understand if this si something new, but it's not.


r/learnjava • • Jul 26 '25

Review this course "Master Java Spring Development" by Telusku.

1 Upvotes

Want to purchase this spring development course by Telusku.


r/learnjava • • Jul 22 '26

Help please🙏

1 Upvotes

I apologise for asking this in this sub Reddit, but how exactly have the programmes in this sub Reddit learn java, I am now forced to learn java(because of school) and kind of enjoy it but can really fully comprehend it, I’ve tried a whole bunch of Udemy courses yet nothing worked out, any help would be greatly greatly greatly appreciated, sorry again


r/learnjava • • Mar 26 '26

Struggling to understand Binary Search in 2D Arrays , Can anyone help!!

1 Upvotes

Struggling to understand Binary Search in 2D Arrays , Can anyone help!!
Language I'm learning in : Java
Playlist I'm referring to: Kunal Kushwaha


r/learnjava • • May 14 '26

Java or python???which is more used in companies

Thumbnail reddit.com
0 Upvotes

r/learnjava • • Jun 02 '26

Just finished core java. What should I do next?

0 Upvotes

I finished learning the Fundamentals of java like conditional statements, Oops concepts. I have made like 20 command line interface projects too. What should I try to learn next? I'm working to become a backend developer? Should I go for DSA?


r/learnjava • • Jul 09 '26

Interview this weekend

1 Upvotes

I have interview in infosys this weekend...opening is "senior java developer" I cant see the JD yet so can anyone please guide me what all should I focus on be it java, advanced java, spring boot and more importantly coding..


r/learnjava • • Aug 08 '26

java vs python for backend as a fresher?

0 Upvotes

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?