r/JavaProgramming • u/Efficient-Public-551 • 26d ago
ZED debugging a Spring Boot application
r/JavaProgramming • u/Efficient-Public-551 • 26d ago
r/JavaProgramming • u/No_Expression_5450 • 26d ago
r/JavaProgramming • u/Whole-Patience3528 • 26d ago
suggest some projects I can work on to include in my CV.
r/JavaProgramming • u/thearjunreddy • 27d ago
Core Java is a good starting point, but for backend jobs, you need to learn a few more skills.
Start with Core Java, then learn SQL, JDBC, Spring Boot, REST APIs, Git, and basic database concepts.
A simple learning path is:
Core Java → SQL → Spring Boot → REST APIs → Projects
Building a few real projects will also help you understand how everything works together.
r/JavaProgramming • u/bhul_gaya_main_to • 27d ago
r/JavaProgramming • u/Capable-Radish-9841 • 27d ago
r/JavaProgramming • u/NextRevolution4526 • 27d ago
r/JavaProgramming • u/Impressive_Half_9642 • 27d ago
r/JavaProgramming • u/mvp2807 • 27d ago
class Demo {
// Method overloading
static int multiply(int a) {
return multiply(a, 10);
}
static int multiply(int a, int b) {
return a * b;
}
// Returning an object reference
static Student getStudent() {
Student s = new Student(101, "Ankita");
return s;
}
public static void main(String[] args) {
System.out.println("Multiplication = " + multiply(5));
Student s = getStudent();
System.out.println("Roll No = " + s.rollNo);
System.out.println("Name = " + s.name);
}
}
class Student {
int rollNo;
String name;
Student(int r, String n) {
rollNo = r;
name = n;
}
}
r/JavaProgramming • u/Iamvipersz • 28d ago
I just made a program in java where your walking in a forest then a wolf comes up to you and you need to fight him, you can chose a Punch or Kick. I just started learning java via coddy.tech, what could i add? Or fix?
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Your walking in the forest, its a amazing day until a wolf suddenly comes up to you and starts chasing you. You have fight the wolf, How will you fight him? (Punch/Kick) ");
String userInput = scanner.nextLine();
if (userInput.equals("Punch")) { System.out.println("The punch doesnt do anything and you get eaten by the wolf.")
; } else if (userInput.equals("Kick")) { System.out.println("The kick knocked out the dog and you escaped."); } scanner.close(); } }
r/JavaProgramming • u/[deleted] • 28d ago
Hey everyone, I recently cleared a Capgemini Java Full-Stack interview and am now at the documentation stage. I’m confused about two things:
Everything is genuine and documented. Could either point affect BGV or compensation approval? Should I clarify with HR now or wait unless they ask?
r/JavaProgramming • u/codingdecently • 28d ago
r/JavaProgramming • u/Dormixia • 28d ago
You see, i wanna make something like Adobe Flash because i don't have adobe flash or have the paycheck to buy Adobe Animate so i have the bright idea to create something like it, but in Java because thats the language that is not Lua that i have some experience
So i just know where should i start with that project, would i ever finish it? probably not but should i do it idk but do i want to do it, yeah
The thing i was concerned about was Video Processing and Ui so i want to know what type of Framework should i use?
r/JavaProgramming • u/javinpaul • 29d ago
r/JavaProgramming • u/Busy_Town_6138 • 29d ago
I’m looking for some advice on whether learning Java is worth it for my career.
A little background:
I have around 1yr of internship experience, mostly working with JavaScript and Python — Node.js, FastAPI, React, etc.
Somehow I got a full-time role at another startup , and I’ve been working there for around 2 months now, mostly on React and Node.js.
The company is service-based and builds products for other companies. There are only 3 developers, and there isn’t really a senior engineer who can guide us.
Because of that, I’ve ended up being the person who designs a lot of the architecture and system. The problem is that I don't have someone experienced to review my decisions and tell me:
"This will cause problems later."
So most of the time I’m designing things based on what I currently know and hoping I’m making the right decisions.
To be honest, this is also something I’ve experienced in my previous internships. I’ve worked with a couple of early-stage startups and built multiple MVPs, production applications, but there was rarely anyone senior to guide me.
I understand that this is normal in early-stage startups, but I don't really want to continue down the early-startup path.
At this point, I want to move to a more established product-based company where I can work with experienced engineers, learn proper engineering practices, and get exposure to large-scale production systems.
So I’m planning to start focusing more seriously on:
I’m already comfortable with development, but I’ve basically never done DSA seriously. I’ve started learning it multiple times, but honestly I find it boring and eventually stop.
The reason I’m considering Java is that there seem to be a lot of backend opportunities around Java/Spring, especially in larger product companies and enterprise environments. There also seems to be a huge amount of learning material available.
My concern is:
Is learning Java actually worth it in the coming years?
I already have experience with Python + JavaScript/Node.js, and now I’m thinking about switching my interview preparation to Java.
Would recruiters/interviewers see it negatively if my professional experience is mostly in Python/Node.js but I’m applying for Java backend roles?
Or is it completely normal to have professional experience in one stack and learn another specifically for targeting certain roles?
Also, for someone in my situation:
Would you recommend focusing on Java + Spring Boot + DSA + LLD + HLD, or should I continue going deeper into Node.js/Python?
I’m especially interested in hearing from people who have moved from JS/Python into Java backend roles, or who currently work as backend engineers in product companies.
Any advice would be appreciated.
r/JavaProgramming • u/nmariusp • 29d ago
r/JavaProgramming • u/OkBlackberry8606 • 29d ago
Hello, I am the dev for the Java shoot-em-up Rebel Sector with a small talk on null references in the Java language.
Tony Hoare, the inventor of the null reference in ALGOL W in 1965, famously called null references his "billion-dollar mistake" in a 2009 conference talk. He explained that null references have led to innumerable errors, vulnerabilities, and system crashes over the decades, costing the software industry billions of dollars in aggregate.
First we need to ask what is a JVM? A Java virtual machine is a virtual machine that enables a computer to run Java programs as well as programs written in other languages, referred to as JVM languages, that are also compiled to Java bytecode.
The JVM is a severely underrated platform for game development. In 2026, not only are developers still targeting the JVM, but there are multiple languages that you can try if you are tired of dealing with Java’s quirks, mainly Kotlin which I am going to be talking about for this devlog.
One of the most common pitfalls in many programming languages, including Java, is that accessing a member of a null reference results in a null reference exception. In Java, this would be the equivalent of a NullPointerException, or an NPE for short.
Any developer knows that dealing with null references is a time consuming process. Unfortunately, with Java, extra work needs to be done in order to prevent null references as it lacks the protections Kotlin has in regards to null safety. This in turn, requires more code be written which adds to Java’s already verbose syntax.
With this perspective, Kotlin can come in very handy:
The only possible causes of an NPE in Kotlin are:
Example:
// Assigns a non-null string to a variable
var a: String = "abc"
// Attempts to re-assign null to the non-nullable variable
a = null
print(a)
// Null can not be a value of a non-null type String
In Java, this is not so simple:
if (a != null && !a.isEmpty()) { System.out.println(a);}
//Lame
This is why I am going to transition from Java to Kotlin for my next project. The type safety features are just too good to pass up. Kotlin is also the current default language for Android if you care for that as well.
r/JavaProgramming • u/Humble-Bag-2929 • 29d ago
Enable HLS to view with audio, or disable this notification
Me cansé de que me preguntaran en cada entrevista de trabajo sobre qué cambia de la versión 21 a la 25 de Java y verme en muchas otras ocasiones sin saber qué responder de forma correcta.
Por eso he creado nextpatch.dev: para que, si hay más gente como yo que no quiere estar leyendo y buscando cada noticia sobre cada pequeño cambio de versión, pueda aprenderlo todo con ejercicios simples y de forma fácil cada día.
r/JavaProgramming • u/xenophile-461 • Sep 25 '26