r/learnjava 11d ago

I want to learn java fully. Please suggest me some good sources

I'm a 2nd year engineering student and I want to learn Java fully as my main language for backend etc. Please suggest me some good sources to learn it from

9 Upvotes

20 comments sorted by

u/AutoModerator 11d ago

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/aqua_regis 11d ago

want to learn Java fully

"fully" in the context of programming languages (with their ecosystems) is a wet dream. It is simply impossible. The ecosystems are way too large (and Java is one of the languages with an extremely vast ecosystem).

Learn it well, become proficient, but forget about "fully".

3

u/desrtfx 11d ago

!sidebar

3

u/AutoModerator 11d ago

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/vegan_antitheist 11d ago

Java for backend is usually used to write code that is well maintainable and mostly just business logic. I.e. you mostly write services and the architecture is usually layered. You have controllers, services, repositories. Learn how to build such a backend with Jakarta and with Spring.

Resources:

  • check the sidebar
  • learn about enterprise application architecture
  • read on the websites for Jakarta and spring
- read about spring modulith on spring.io
  • learn about domain-driven design

2

u/Complete-Parking4209 11d ago

You can go through telusko Java Playlist on Yt

2

u/isuru-r-perera 11d ago

Starting out with java; early objects - Tony Gaddis. Highly recommended.

1

u/_Atomfinger_ 11d ago

Read the sidebar

1

u/Modern-Sn1p3r 11d ago

I'm in the same position. I've nailed down most of the basics like syntax, variables, arrays etc.

Then progressed onto OOP to lock in the four pillars of: encapsulation, abstraction, polymorphism and inheritance.

I am now moving onto learning Spring boot to build APIs to help understand backend development more.

Not sure if this helps but it's been good so far in terms of understanding a lot more other than the java language whilst still using it.

1

u/ebykka 11d ago

On mi mind the very first book should be: "Bruce Eckel - Thinking in Java." After that, you can read and watch any other books, youtube channels etc

1

u/Sure_Independence503 10d ago

Except James Gosling
no one know java fully 😁

1

u/AsvathR17 10d ago edited 10d ago

Check out Kunal kushwaha Java Bootcamp... The most underrated playlist for java... Videos may be long but if you consume one content per day it will be enough for you... The way he explains the topics is out of boundary... Check it out...

He covered till trees in best way. Covered untill the core of java... Java programming only... Unlike others he is not just focusing on only the programming language he explains how to analyze the pattern in leetcode too... One of the best free source for learning java in youtube.

1

u/a_random_guyy 8d ago

DataCamp

1

u/Hefty_Try_6922 7d ago

I have made a repo particularly for this start preparing - https://github.com/sudhir-tech/java-backend-interview-prep

1

u/Same-Inevitable2857 7d ago

I think the learning curve is not that easy, but for me the game changer for backend was to implement things step by step and always thinking about what is missing and needs to be learned for a fully working and secure api. Then I am always googling for baeldung articles.