r/learnjava • • Aug 23 '24

How to become expert in Java Programming

I'm beginner in Java Programming. How to master java programming??

0 Upvotes

15 comments sorted by

•

u/AutoModerator Aug 23 '24

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.

32

u/morning-coder Aug 23 '24

Same as you become expert in walking.

Do it, fail, rise and do it. No magic trick.

1

u/X-Shiro Aug 26 '24

I used to ask the same questions as OP until I started gaining interests in other aspects of computer science and realized it’s all the same process once you learn one language. Just keep doing it a lot and don’t be scared to start some random idea that you come up with, getting your feet wet by even starting a project that you don’t finish will give you experience too. Try everything, and better yet attempt to find a solution for everything. If you can do those two things you’re chillin in terms of mastering the language faster. Good luck.

6

u/[deleted] Aug 23 '24

By doing a lot of it

5

u/sebnukem Aug 23 '24

There's nothing special about Java. Like any other skill, mastering comes with practice.

6

u/Pedantic_Phoenix Aug 23 '24

The same way you master anything in life buddy. Think back to other things you know and do the same

3

u/[deleted] Aug 23 '24

Make mistakes and most important of all don't be afraid of making them man.

Learn the internals and jvm, they give you a better perspective on writing efficient code.

2

u/equ35tion Aug 23 '24

I have realized, reading a book gives you a new perspective to think differently. After a certain time you get trapped in same cycle and new ideas stop coming.

2

u/xingstarx-2023 Aug 24 '24

Do more Java projects, learn through practice, accumulate experience, repeat continuously, then you will become a Java expert. From now on, write your first line of code.

3

u/Ok_Bear_240 Aug 23 '24

do oracle certified java exam

2

u/PsychoDuck111 Aug 23 '24

There is no easy path nor a ready-made path to becoming a "master" of something. Each person has their own journey and that is what will make you stand out and differentiate you from others. What I can recommend is to practice and learn to read documentation, otherwise it's up to you to look for the approach that is most compatible with you.

1

u/Own_Cauliflower8609 Aug 23 '24

By practicing and failing and more practice afterwards.

1

u/Cengo789 Aug 23 '24

Years of gathering experience and lot's of coffee...

1

u/be_vigil4nt Aug 23 '24

Make mistakes. By the time you realize that they were mistakes, you will have already moved forward.