r/javahelp • • Jul 24 '20

How do I get started on learning Java?

Hi guys, 22F from Singapore here. I'll be taking a module called "Object Oriented Programming" next semester and it will taught entirely in Java.

Since I'm pretty free now, I was thinking of learning Java before the semester. Is there any tips or website you guys recommend me to look into to get started on learning Java?

I do have experiences coding in Python but I heard Java is next level as compared to python.

Any tips on Java will be really appreciated!! Hope to make some new friends here to discuss about programming too.

26 Upvotes

22 comments sorted by

8

u/4K3b1g Jul 24 '20

Helsinki MOOC is a great place to start. Alex Lee has great YouTube tutorials. Think about something basic that you want to build like a guessing game, a photo gallery, or a small game in Android that will keep you going and work towards that.

3

u/hazel_nutxjy Jul 24 '20

Okay, I'll definitely look into Helsinki MOOC. Thank you for the recommendation!

2

u/GooseWithDaGibus Jul 24 '20

YouTube is your best friend when it comes to this

1

u/hazel_nutxjy Jul 24 '20

Sure, will look up on some YouTube videos!

2

u/[deleted] Jul 24 '20

I think udemy courses are great, like the one from Tim Buchalka. Building apps like others suggest is fine, but Java has a lot of depth with its scope and access modifiers. I recommend starting with the basics in Tim’s udemy course.

You might be bored at first and think you know everything he’s teaching, but nothing beats a strong foundational knowledge.

1

u/hazel_nutxjy Jul 24 '20

Thanks for the tip!! Will explore the udemy course after I completed my java programming book :)

3

u/brogrammer2018 Jul 24 '20

Also try this Java booklet after ur udemy course :)

Link: https://twitter.com/java/status/1041540247111327744

4

u/TheAnswerWithinUs Barista Jul 24 '20

I went into college java classes not kowing a thing about java or even programming in general. A year later I passed my java 2 class while some of my other friends had to retake it. I think it’s definelty helps that you know python. If I can do it with no programming experience I know you could definelty do it.

I’m not sure about anyone else, but for some reason they make our university java classes unreasonably hard. They are basically the weed out classes for CS majors and minors

But even writing something simple like a guessing game, a dice game, a decision tree, etc (all of which we wrote in my java classes) will really help you out. Arrays are also really helpful to know. I could go on but that’s the basics

YouTube also has really good tutorials for setting up your IDE and getting started with simple stuff

Feel free to message me if you have any questions!

3

u/Anaptyso Jul 24 '20

I think it’s definelty helps that you know python.

Yeah, someone learning Java from scratch is likely to need to pick up stuff in three areas:

  1. Basic programming concepts e.g. ifs, for loops, functions, variables etc

  2. OOP concepts

  3. How to do the above in Java.

Someone who has already done another programming language should have the first step already, and possibly the second as well.

0

u/[deleted] Jul 24 '20

[deleted]

1

u/Anaptyso Jul 24 '20

When I was at university we spent the first year learning the basics in Pascal, and then moved on to OOP and Java after that. I kind of helped seeing the basic stuff like loops and ifs in a language where I also didn't need to worry about objects.

Where it all went horribly wrong was that they decided to teach us Java using a textbook where everything was done using Swing, from Hello World up. It was crazy trying to figure out this new object orientated stuff, and a new language, while getting all sorts of nasty Swing boilerplate code to work at the same time.

1

u/TheAnswerWithinUs Barista Jul 24 '20

Yea we had a textbook four out java courses too. No idea why I bought it tho since absolutely no one opened it

1

u/Saethydd Jul 24 '20

When I took object oriented design for my Electrical and Computer Engineering degree we used this as our textbook. I think it does a pretty good job laying out the particulars of Java and some of the basics of programming if you need those too.

1

u/hazel_nutxjy Jul 24 '20

Yay another textbook!!! Will read it to improve my java skill/knowledge

1

u/desrtfx Out of Coffee error - System halted Jul 24 '20

Sidebar -> Learning Java

1

u/[deleted] Jul 24 '20

System.out.println("Hello World!");

1

u/Bajur1337 Jul 24 '20

For me the best way to learn programming is learning with book. The book that I have and can honestly recommend is: https://www.amazon.com/Core-Java-I-Fundamentals-11th-Horstmann/dp/0135166306 also not only for java but for OO programming I can also recommend: https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882

1

u/the_rookie_master Jul 25 '20

The best to learn any language is to do a small project. Some of the options to start may include:

  1. If you already have a project, try to make the same one in Java instead.

  2. Check out simple apps like Restaurant management system and build that using Java.

  3. Take any open source project in github, and start contributing there.

You’ll learn a lot more than digesting information in books or courses.

The learning curve will be steep, but it will help a lot in the future!

0

u/[deleted] Jul 24 '20

I know codeAcademy has a pretty good java basics course, I thought it was good at least.

1

u/[deleted] Jul 24 '20

[removed] — view removed comment

1

u/hazel_nutxjy Jul 24 '20

No, hahaha , I'm from SMU. Are you from Singapore as well?

1

u/Supreme_kimmy Aug 08 '20

Is201 huh?? Pm me if you need the Ooad resources.