r/learnjava 1d ago

Best way to learn java?

So i wanna learn java as a hobby but what is the best way to learn it? Idk my goals yet maybe eventually mc mods but idk

And does is matter i dont know advanced math since i dropped school at 12 im 16 now and yes im working on jt

10 Upvotes

17 comments sorted by

View all comments

5

u/CharacterAnt00 1d ago

You dont need advanced maths to code.

If you're a complete beginner, watch on YouTube: Java Basics - Crash Course from 2 years ago by freecodecamp or hop on w3 schools website and do all the java things there.

Then, start making projects. Literally the best way to learn coding. Make Projects. Start with terminal applications, like a simple register and login where things like the password and the name get saved in variables. Then maybe a to do app where the todos get saved in a List. The user can select between adding a new todo or viewing the todos from the List.

You dont know how to save something in a list or what a list even is? Google "what is a list java" or "how to put something in a list java".

Also, read about Data Structures. on google search "data structures java free pdf" and read one. Even if its from 2002, data structures dont change. Read about linked lists, hash maps, hash sets and things like that.

So basically, watch a course about the basics, then make stuff and google if you dont know stuff, thats how you become a good coder. Not by asking how to become a better coder 100 times on here, thats how i wasted a lot of my time. Dont be scared about Diving into things you dont know, like how to make a GUI App in java and things like that. You WILL learn how to do it and understand Things, theres no other outcome. You have to start tho and google about everything you do not know.

0

u/Visual-Fortune-4732 1d ago

are there any good other good course videos?

and are vids even good i heard some people say they are really bad for coding

1

u/CharacterAnt00 1d ago

There are definetly "better" course videos, but freecodecamp is usually a pretty good site and Channel to learn stuff. I'd really suggest just watching that video to get the fundamentals down because thats your main goal. Then once you understand basic things Covered there and followed along, you need to start Experimenting yourself and making projects. Thats how you learn. Vids are good if you just watch one to get the basics of something down, but then you need to start making your own stuff and googling things you dont understand. Just watching crash course after Crash course after Crash course is bad, yes.