r/learnjava • • Apr 15 '24

Guys, can you Share some Best Resources to Learn JAVA?

7 Upvotes

Hello!! Guys, I am a newbie in JAVA, and I need resources to learn JAVA in more depth and with clear understanding, like memory management in JAVA, etc... I am a student and I am gonna keep JAVA as my primary language, can you guys share the best resources, like books or websites or YouTube channels for JAVA.


r/learnjava • • Feb 08 '22

Does Java really not have functions?

7 Upvotes

Hi, I'm brand new to Java.

I googled "Does Java have functions" and the first/top result says, "There are no functions per se in Java. All you've got is methods."

I'm not sure what the latter part of that means, but you really can't create functions in Java?

Thanks, sorry for the noob question


r/learnjava • • Sep 21 '25

Best resources for Java

4 Upvotes

Hey guys, after coding with JS for around a year hoping from frontend to backend and alot of stuffs. I dont think its quite for me. I want to deep dive only into backend and especially into a language thats actually made for backend. So i would like to learn java but no courses, no tutorials,etc. all along from reading. So please sugest some sites or resources or even books that can help me learn or shows me correct path to reach the goal. Thanks!


r/learnjava • • Jul 18 '25

Shouldn't java provide a way to overload abstract methods in a functional interface ?

4 Upvotes
//i know the following piece of code will not work
 
interface hehe{
    void hehe();
    void hehe(String s);
    
}
public class Main{
    static Scanner 
scanner 
= new Scanner(System.
in
);


    public static void main(String[] args) {
        hehe h = ("zerone") -> {
            System.
out
.println("zerone");
        };

        h.hehe();
    }

}

Java asks:

Even though (s) clearly suggests the second one, Java doesn't allow this because the interface has more than one abstract method ?? ?????? why man ???/


r/learnjava • • Feb 10 '22

newbie please help😭😭

4 Upvotes

i think now im good at core java

but im getting confused on what to learn now

i dont have any proper plan

what should i do know

please help me i have only 1 year left for placements and i want to get a good package please help me

what should i do next any roadmap on java any resources please????


r/learnjava • • Mar 23 '23

Java Development

4 Upvotes

Hi,

How much time it should take to prepare from scratch and become job ready Java back end developer?


r/learnjava • • Dec 03 '24

How to learn java as a complete beginner !

9 Upvotes

How to learn java from zero to hero? What's the most efficient ressource in your opinion ? I really have no time to waste.


r/learnjava • • Feb 10 '21

Hey! I am looking for a friend with whom I can compete in learning Java.

9 Upvotes

My telegram : @smxsls


r/learnjava • • Aug 29 '24

Learn Java without leaving the browser

15 Upvotes

Hello all,

I recently decided I'd love to start learning Java. This is my first programming language, i only know a few basics of html/css (what I learned before i decided i didn't wanna proceed with web development). I found a perfect udemy course that I'll start and follow through to the end but what I'd like to ask about, is a resource to learn java through a browser. You see I work 8-10 hours a day in an office job, i have lots of free time but because of using a company provided laptop, I cant install anything. I'd like to use all this available time to watch some kind of course and write java, without actually installing anything. Do you guys have any suggestions for this ? Maybe a complete youtube course and a site where you can write java online?

Thanks in advance


r/learnjava • • Feb 10 '25

I am a Golang Developer, should I learn Java + Spring Boot?

6 Upvotes

Hi, I need some career advice. I am a 2021 CSE graduate from a tier 1.5 Indian government engineering college. I have three years of experience in Golang. I worked in an Indian food delivery giant for 2 years. I subsequently worked for a UK-based fintech startup for a year but got affected due to mass layoffs recently. I am preparing for interviews currently.
I noticed that many companies require Java+ spring boot experience. I had learnt Java in college but never learnt Spring Boot. Should I learn this tech stack to get my foot in the door for big tech companies? Moreover, I have an admit for MS in Computer Science from a top 30 college in the US and my session will start in August 2025. I am wondering if I will face the same issue of limited job openings in the US as well due to lack of experience in this tech stack. I am still on the fence about going for MS though given the scary job market in the US and the AI inception in software.


r/learnjava • • Mar 03 '26

I’m a Java backend developer with around 2 years of experience.

6 Upvotes

Lately, I’ve been feeling a bit anxious about the rise of AI. There’s so much talk about automation and AI replacing developers that I’m starting to worry about the future of backend development.

Is backend development at real risk in the coming years? If not, how do you see it evolving?

What skills should I focus on now to stay relevant and future-proof my career? Should I double down on core backend skills (Java, system design, databases), or start moving toward AI/ML, cloud, DevOps, or something else?

Would really appreciate advice from experienced developers who’ve seen tech shifts before.


r/learnjava • • May 05 '25

Confused 😕

3 Upvotes

I'm currently learning Java, but I'm feeling quite overwhelmed. I usually watch video tutorials, but I find myself getting confused when it comes to taking notes or truly understanding the logic behind the code. It’s like I’m just passively watching without retaining much, and when I try to write things down, I’m unsure what’s important. This makes it hard to recall concepts or apply them in practice.

How do you guys approach learning Java (or any programming language) effectively?

Do you take notes while watching videos, or afterward?

How do you identify what’s worth writing down?

Any tips to better understand the logic instead of just memorizing syntax?


r/learnjava • • Feb 03 '25

Learn java

3 Upvotes

Can somebody tell me I want to learn coding I m in IT by pressure not as passion but I find it difficult to learn java how can I learn java in fun way or anybody have inttesting way to teach or learn java plz let me kw...thanks.


r/learnjava • • Sep 09 '21

++x vs x++ speed

3 Upvotes

Why is x++ so much faster than ++x in Java? I tested with a loop that adds all positive numbers in Integer for Integer.MAX_VALUE times. x++ is always twice as fast. How are they different under the hood? Is that the case in other languages?

EDIT: here is the code. Might have to use -Xmx tag if more loop times is desired.

https://pastebin.com/F1v0Herr

EDIT2: parallel version shows that preincrement is slightly faster

https://pastebin.com/3gDMWxVL


r/learnjava • • Sep 17 '15

You are given 3 numbers as input. Can you find the middle number (not the biggest or the smallest) by only using the Math.max function? No if statements allowed.

0 Upvotes

r/learnjava • • Jan 27 '25

I am just starting to learn java

0 Upvotes

Some tips to understand java well and score really good in my examinations need your help guys


r/learnjava • • Feb 15 '24

How stupid is this? set logging like this:

0 Upvotes
List<Review> findAllReviews() { log.info("find all reviews");
    return .....
}

r/learnjava • • Nov 25 '23

How to start ?

3 Upvotes

Hi I'm a beginner programmer and I'm trying to learn Java for development, could someone please provide me with a roadmap on how to start and what are the concept and frameworks that I would need to learn and how and where can I learn it from. Basically a comprehensive guide to master Java for Development and be job ready. Thanks a lot !!


r/learnjava • • Jan 18 '24

New to Java

3 Upvotes

New to Java

Hi experts, I am currently taking a degree in Cybersecurity and Computer Science. I am doing a module of Principles of Computer Science and we are supposed to do Java.

Let me run thru my background, I studied Javascript and Python a year ago as I am in a midst of doing a career switch.

I want to learn more about Java, W3 School is a good platform to learn but I think I learn better watching videos while reading W3 Schools. I asked a couple of friends how they study for Java and I am aware about pseudo code (never used it before although I studied Javascript and Python bcs it was just a short bootcamp).

Can I get your opinion on how to study, who should I look for online, how to improve my coding skills? Thank you.


r/learnjava • • Jan 26 '24

How do i start learning Java?

3 Upvotes

My college is teaching java right now i am not able to understand anything they are teaching. So, if anyone has a nice recommendation of a book or a course that would help me would be appreciated? Note: - i have no experience in coding


r/learnjava • • Oct 09 '25

First Java Project, trying to learn Java

3 Upvotes

https://github.com/J-a-y-r-a-j/Maintain75
Built an simple attendance tracker for personal, do give the code a look and let me know how i could improve.


r/learnjava • • Aug 28 '26

Coding help for java

0 Upvotes

Guys help me,how I am able to learn java who don't know about coding at all , please give me legit answer and what are the steps I should follow after watching tutorial , please help me guys,want suggestions like if I watch one tutorial per day of any yt channel ,what should I do next after watching tutorial and in a month later


r/learnjava • • Aug 03 '25

Dev.java is shit. Don't waste your time there.

16 Upvotes

I was trying to learn using the Dev.java site but its shit. I don't know for whom this site is meant for because they mix so many things together that it's pain to try to even go through the basics of it. I am so tired of these of these sources that assume ou already know everything. If I knew everything, why would I be looking at tutorials???


r/learnjava • • Apr 18 '24

MOOC Java course is bullshit

0 Upvotes

First of all, for a complete newbie who wants to learn java this course is already outdated. The instructions are unclear, I had to install JDK 11 and change the directory in the .conf file to get TMCBeans going. In The course first chapter the class is named "Sandbox" but in the files actually it is named "Application". I want to submit my code with TMC and I get an error that my code is wrong.

This course absolutely sucks.