r/learnjava • • 2d ago

Backend engineering

How should I start learning java ? Currently I am doing striver dsa playlist in cpp and 30-40 questions in leetcode. Tell me in detail pls🙏🏻🙏🏻. How to start, what should I learn, which playlist should I follow everything

3 Upvotes

10 comments sorted by

•

u/AutoModerator 2d 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.

1

u/CareerSwitch_At27 2d ago

Build a project. Break. Won't understand anything but slowly you will get it.

Alot of people told me be build my ass didn't now 5+YOE in QA

1

u/RP-9274 2d ago

Start learning core java . Focus on oop concepts . You can go with telusko or another youtuber you like . Then make any simple console level project. And then you can start spring boot . Good with telusko or embarkX . Or any youtuber of your choice.

1

u/nian2326076 1d ago

Start with the basics of Java, focusing on concepts like OOP, data types, and control structures. Following a structured playlist from sources like freeCodeCamp or Codecademy can help. Building small projects can solidify your learning and provide practical experience. You can also use LandOffer to explore job opportunities as you progress in your skills.

1

u/No-Formal7513 1d ago

Just make and break things, I am doing that as well, have created certain projects, just, pretty messed results, but are good to see

1

u/Far-Bullfrog161 1d ago

Since you already do DSA in C++ the jump to Java syntax is small, so don't restart from zero. Spend a week or two on the parts that differ: classes and interfaces, the collections (ArrayList, HashMap, HashSet), generics, exceptions and how strings work. One trick that works well is redoing 20 or so LeetCode problems you've already solved in C++, but in Java. You already know the logic, so you're only learning the language and the standard library. After that build a small console app with a few classes that talk to each other, like an expense tracker that saves to a file, because DSA won't teach you how to structure a program. Then some SQL and JDBC, and only after that Spring Boot with a basic REST API and a real database. For actual material check the pinned resources thread here, the mods keep that one updated.