r/JavaProgramming • • Dec 04 '25

Using a class inside of itself

7 Upvotes

I understand that you are allowed to use a class inside of itself ( a method) and you can create an instance. And this works because the entire class definition is known before it compiles the method bodies. I just can’t wrap my head around the idea why this makes sense to do. Sorry if this is stupid I’m just getting into OOP and Java.


r/JavaProgramming • • Nov 02 '25

JAVA Banking System OOP w/Scanner

7 Upvotes

https://github.com/carlojaybacus14-cyber/BankingSystem.git

Hi guys! I've just finish this system, the code is lowkey ugly, but it's working though I don't really know how banking really works, but It's good practice I guess. Let me know your thoughts.


r/JavaProgramming • • Jul 15 '26

NEED ADVICE ON TRANSITION FROM SAP TO OTHER TECHNOLOGY

7 Upvotes

People who transitioned from SAP to other technology like Backend Development after 2-3 years, how did you manage it ? What were your strategy and how's life going now ?

I want to move away from SAP as truth to be told I never liked it - even though it's really good but I just don't enjoy working with this ecosystem and always wanted to learn and move to Backend Development . But it's been 3 years already and I am afraid I am making wrong decisions.


r/JavaProgramming • • Aug 06 '24

Example of Java double to String

Post image
7 Upvotes

r/JavaProgramming • • Oct 02 '24

PLEASE HELP😭😭

Post image
7 Upvotes

r/JavaProgramming • • Sep 25 '24

Query as a beginner

Post image
7 Upvotes

Why is it not printing the series as it should .Am I doing something wrong.


r/JavaProgramming • • Jun 02 '26

No role for Juniors

7 Upvotes

Hi

Saw a lot of job vacancies for java developers on Naukri but only for 5+ years of experience,what do the developers do with 2-3 years of experience.


r/JavaProgramming • • Sep 10 '26

What Java Developers Should Learn in 2026?

Thumbnail
javarevisited.substack.com
7 Upvotes

r/JavaProgramming • • Feb 28 '26

Project for university

7 Upvotes

We started learning java in university. What is an interesting project, some algorithm where i could also implement multithreading. Something intereseting where i would learn something and impress my proffesor


r/JavaProgramming • • Jul 27 '26

can someone please give suggestions

7 Upvotes

So I have been applying in naukri and company portals everyday for switching. I have 4 years of experience now and my stack is java backend stuck in 6 LPA and I am upskilling in DSA and AI but its been 3 months now and I see no calls, no luck, then I open Linkdin and see people switching everyday and people negotiating salary for multiple offers in glassdoor and here I cant get a single interview call....been coding and studying everyday but still no calls so idk if its even worth griding anymore....I see many switching in AI and data engineer field so a part of me feels maybe give up the current one and study data instead.....idk what to do
can someone else me....


r/JavaProgramming • • Apr 28 '26

Spring Boot Application flow

Post image
7 Upvotes
  • Let’s discuss the Spring Boot application flow.

  • Hibernate plays a crucial role in simplifying database interactions. Earlier, developers had to use JDBC, manage connections, write SQL queries manually, and handle a lot of boilerplate code.

  • With Hibernate (as a JPA provider), you only need to configure the database and write your business logic. Hibernate automatically handles SQL generation, execution, and mapping between objects and database tables.


r/JavaProgramming • • Jun 13 '26

Roadmap For Java

7 Upvotes

Same as the title says

I am new to Coding / prog. world , will start college in 2 months , i had a tech idea to work on , so used claude , and it suggested me to learn Javascript first for the project

suggested me dave grey 8hr class video ,

is the video good or should i learn from else , as it was good , but learning a language in 8 hr , might be oneshot , which would weaken my basics , so help me

also suggest if should i start python after this or .JSON


r/JavaProgramming • • Sep 27 '26 Bravo

Little program i made

7 Upvotes

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(); } }