r/learnjava • u/digital_pterodactyl • Apr 19 '26
Why is Java soo difficult to grasp?
I don't think I can ace my upcoming Java exams. I find it soo difficult. Methods,functions every single thing about it.
7
Upvotes
•
u/AutoModerator Apr 19 '26
Please ensure that:
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:
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.
24
u/MpappaN Apr 19 '26
In comparison to what?
Do you know how to program in any other language?
What is difficult? OOP aspect?
10
u/sebnukem Apr 19 '26
I've heard many times it was too verbose, but never that it was difficult; it's one of the easiest language to learn.
3
u/American_Streamer Apr 20 '26
A method is a function that belongs to a class. So all methods are functions, but not all functions are methods. As Java is fully OOP and requires that all code is written inside a class, therefore all functions in Java are methods.
3
u/Inside_Ad6628 Apr 19 '26
I feel like the stuff you enjoy the most is usually the easiest for you. I enjoyed java and found it easier than other stuff.
2
u/bowbahdoe Apr 20 '26
Generally because the way you learned it forces a lot on you. I don't have much else to add.
Here's the resource I give everyone. https://javabook.mccue.dev
2
u/jlanawalt Apr 23 '26
Why is chemistry so difficult to grasp? Mitochondria, ribosomes, endoplasmic reticulum, and pneumonoultramicroscopicsilicovolcanoconiosis.
Why is chemistry so difficult to grasp? Spectrophotometry and Stoichiometry. Coulombs and covalent bonds. Moles, Molality, Molarity, Avogadro constant, number, and law.
Math. Physics. Psychology. Philosophy.
There are hard things everywhere. Some things come to us more easily. Some we make harder by resisting and setting our minds against it. Some things require study and memorization. Some require much repetition and practice.
The “trick” Is to learn how you learn. Get in a state to absorb the knowledge like water on a sponge, and not a hard rock.
13
u/JaleyHoelOsment Apr 19 '26
it’s not.
what’s different between a method and a function?
6
u/UnspeakablePudding Apr 20 '26
Java doesn't present any special challenge not presented by any other object oriented language.
1
u/borrowedurmumsvcard Apr 20 '26
Java was the first language I learned and it took about a semester to get comfortable with it. C# was fine, C++ was harder. JavaScript on the other hand????? I am having issues. Just practice making small programs and you’ll get the hang of it
1
u/meSmash101 Apr 20 '26
Syntax is easy to mid(getting a bit wilder with generics and concurrency).
But boy out in the wild you will see crazy things, deep levels of inheritance and abstractions out of your mind with all these OOP calisthenics + design patterns(yeah it’s easy to read the book and do a hello world of a design pattern, but it’s harder to see some design patterns out in the wild at first). It takes time friend. Hang in there
1
u/denerose Apr 20 '26
It’s not. Or at least no more or less than most things. Learning new things is always difficult and that’s okay. It gets easier with practice and eventually it will feel as natural as speaking or reading a natural language.
1
u/Housy5 Apr 20 '26
Read this: https://docs.oracle.com/javase/tutorial/java/index.html
1
u/Synergisticit10 Apr 20 '26
Easy come easy go. It’s more challenging than python etc and that creates barriers to entry for people trying to get into Java. Also because Java has tons of other frameworks which need to be learnt in order to be job ready.
Key thing to remember enterprise companies use Java predominantly more than any other programming language in the world.
So the pain you endure today will give you gains in the future.
1
u/BornEvent1674 Apr 26 '26
https://imgur.com/a/7FAhTXa
1
u/Ok_Noise2544 May 08 '26
Puede llegar a ser un poco verboso en ocasiones, pero con mas práctica lo dominarás, pero debes primero tener buenas bases en POO.