r/javahelp • • Aug 01 '20

Codeless How would I learn more java?

I used sololearn to learn the basics of java and want to learn more, is there a way I can learn more java with a resource that teaches me and then asks me questions, just like sololearn? (I'm not sure if this is the correct tag or not)

30 Upvotes

15 comments sorted by

22

u/TheYellowblizzard Aug 01 '20

Maybe there are some resources like this but you shouldn't really use them. Do the following after you know the basics:

First do some small projects like: A tictactoe ai A Sudoku solver A pathfinding algorithm Chess Maybe a simple parser

Then read about the following things (if you don't know them already):

Inheritance

Overriding / Overloading

Interface (and why you should use a lot of them)

Generics

Streams

Then you can do some more complex projects:

A little game with graphics

A ki for an existing game

Maybe even an App

On this road you also need some computer science knowlage which is not specifically related to Java. When you fell the need for it you should look into:

Data Structures

Basic Algorithms

Graph Theory

Design Patterns (!)

This is a project orianted learning approach to this but I think this the best methode to get really good in Java in a relatively short amount of time (but keep in mind that you'll have to rewrite a lot)

1

u/Stmated Aug 25 '20

I agree with the sentiment of this, to just start writing projects, but not sure what's up with the heavy focus on games.

Do a calculator application, or a spreadsheet that let's you input your groceries and it can give you info about the recommended intake of certain minerals, or a bunch of lists where you select football players for two teams and get a win percentage, or a console application that outputs a story where you can select paths from multiple options, et cetera, et cetera.

There is way too much overhead to learn with visual programming like games, and you mostly don't even need it, just read up on it if you ever want to make an actual game.

1

u/TheYellowblizzard Aug 25 '20

What do you mean by "heavy focus on games"? I literally had one game as example and it was chess. And I don't understand why you say a game is to complex because of graphics when I even list that as a more complex project... And by the way: It seems like you don't understand what visual programming is. Visual programming has nothing to do with graphics or games

1

u/Stmated Aug 25 '20

All I'm saying is that Tictactoe and Sudoku and Chess are all game-related, and little game and something for another game is also game-related.

And by "visual programming" I of course meant programming where you have to deal with visual aspects like painting, and not a VPL.

Anyway, not sure why I'm responding since this is argumentative for no reason (which I silly-ly started). You gave very good recommendations for topics to look into.

4

u/karokaro12 Aug 01 '20

hyperskill

3

u/joranstark018 Aug 01 '20

You may find some information and resources in the FAQ (in the menu to the right).

2

u/ngeowild Aug 01 '20

youtube tutorials, w3schools is good, maybe buy a java learning book online...

2

u/[deleted] Aug 01 '20

Hi , This is what you’re looking for , and for everyone looking for a guided learning journey with homework and studying end course project , ALL verified by tutors (before you can pass to another chapter):

  • pirple.com 😃

Thank them later and It’s damn affordable for that quality teaching!!!

2

u/seraphsRevenge Aug 02 '20

Look into JDBC, lambdas and streams, the differences between beans and pojos, DAO and JPA, servlets/jsps to get a handle on basic web then check out annotations and Spring. YouTube videos, stack overflow, tutorialspoint, java docs, and Google searches all help. If you've done the basics and alreasy started with some advanced stuff, then learning how to connect to a front end one way or another, many people use REST (basically json and http requests) and how to connect to backend via JDBC or repositories or some other way. This way you can work towards any project you wish from there. Java has been around for a long time there are many other areas to explore from GUIs with Swing or JavaFX to machine learning. I see that some paid sites have been mentioned here. This is an option, however there are so many free sources and materials out there you may not need to pay. I'm not sure about any of the sites listed here but there are many places out there that are more than happy to take people's money and give little in return. As for testing out what you've learned; make projects, see if they run, look for how they might be improved, etc.

1

u/RaviTejaManepalli Aug 01 '20

If u want to listen check Java by Durga Durgasoft YouTube Topics are clearly explained covering most cases

Language in Indian english ( some may not like)

1

u/RogueChild Aug 01 '20

The Java Docs by Oracle, although I doubt that it is as good.

1

u/DonovanDuck Aug 01 '20

Since you know the basics, it might be worth it to just start a small project. You'd have to do a lot of looking up and watch a lot of tutorials along the way but that's part of the learning proces when programming.

Fun projects might be a small 2D game (a sidescroller, snake or tetris all have different challenges), a sudokusolver, ...
Is there something specific you want to do?

If you know about GUI's in Java already, great! Otherwise, read into Java swing or Java FX (although I hear that second one is getting a bit outdated?).
Ask questions and look at example code, that should help.

In my opinion, you learn the most when you have a specific goal in mind and have to get there your own way. Live and learn, I guess!

1

u/[deleted] Aug 01 '20

I like codecademy for brief intros to a new language, but I have to say that you learn by doing.

Reading books on programming is helpful, but not unless you have a way to follow along.

My program used My Programming Lab by Pearson for the first time, except for term projects, and I will say that it was useful practice.

Definitely do projects. Maybe get involved in a club or something that does projects. ACM chapters are great for this, but the language isn't always java.

1

u/nataliacamara Aug 02 '20

Check this website, they have an amazing java course! They offer free preview! https://ultimateqa.com/selenium-webdriver-java-course/

1

u/khervey Aug 02 '20

CodeGym.cc