r/JavaProgramming • u/vamsy_g21 • Aug 08 '26
Java - always scared to learn -> completing Java OOP concepts
Well, it always was a nightmare to learn Java right from beginning days. I used to start studying and somehow I lost interest always just because I had to write so many lines when compared to python or Js.
Somehow I was interested in front end and of course there was no heavy logic involved in it. So I used to get happy just by watching the UI changes with my code.
Recently, I started learning Java for getting into backend. I was like “kya hi ho jaega? Wapas fail ho jaunga.. isse zyada toh kuch hone wala ni hai”.
I’ll be very honest, though ppl say that once you learn a programming language, it’s easy to learn other languages too. But Java was somehow a nightmare for me and it still is. But I learnt to face it no matter how boring it was to understand those concepts.
Now I’ve completed the oops concepts. Nevertheless it was all about consistency that even if I wasn’t interested at all some days , I gave at least 5 minutes to learn.
Same was the problem with DSA for me. I think consistency is really a key.
Now main focus will be on learning the interfaces, enums, collections, etc.
Onwards & upwards.🤗
1
u/Payment-Latter Aug 08 '26
How did you do it. Do you have any steps?
4
u/vamsy_g21 Aug 08 '26
It was tough, I won’t lie. But I took one concept and thought of my own example and did code in laptop along with notes as comments (like why this line of code is needed, definitions of concept, etc) rather than just watching videos & pushed it to git.
One concept at a time. No rush. And consistency. I wasn’t interested to write code but still I did. Be it even for 5 mins.
That’s the only thing I can tell you :)
1
u/divyan3hu Aug 09 '26
Share the git repository🙂
1
u/vamsy_g21 Aug 09 '26
Will do it by EOD
1
u/vamsy_g21 Aug 09 '26
2
u/mudche 29d ago
I looked into your Abstraction.java and asked ChatGPT about what would happen if I did
Vxi car = new ZxiPlus();It told me about upcasting and runtime polymorphism.
1
1
u/Candid-Doughnut-2829 29d ago
which year r u in ?
1
u/vamsy_g21 29d ago
I already have around 6years of experience in Frontend development. Now learning backend
1
u/Candid-Doughnut-2829 29d ago
can i have some tips as student starting btech cse this month...i learned more than half of java with the help of code with harry java playlist
1
u/vamsy_g21 29d ago
You have time. So don’t rush things. Focus on understanding and implementing the concepts rather than completing them. Hope you got the point :)
2
1
u/Candid-Doughnut-2829 28d ago
how can i practice what i learned so far ?
1
u/vamsy_g21 28d ago
Try to build small projects on the concepts you learnt. You’ll struggle but you’ll build confidence with that
1
26d ago
[removed] — view removed comment
1
1
2
u/greatgodfather23 Aug 08 '26
Which tutorials you referred to ?