How to learn Java as a beginner?

I want to start learning Java from scratch. But as a beginner, I don’t know where to start or what to learn first. I have basic knowledge in C++ but Java is an entirely new area to me. Can anyone give me some instructions and good books to start properly?

I used a website to learn HTML called sololearn.com, but it also has a ton of other languages that you can learn. It tells you about a specific function in the programming language that you are trying to learn, and then gives you a question about that function. There are also little quizzes that it gives you at the end of each section. It also has an area where you can program and test code.

3 Likes

I learned Java in High School as we had classes solely based upon teaching Java. Without a doubt, I found that time period taught me so much more about not only Java, but coding as a whole.
If you want to learn a programming language, you could possibly use EdX to enroll into free curriculum on Java programming by colleges.
image

3 Likes

learn c++ well, then learn java. c++ is strict and will teach you object oriented programming without allowing for the mistakes of java.

3 Likes

Good point! Seems like Microsoft has some curriculum for C++ as well
image

Java is very similar to C++ as it uses OOP(Object oriented programming) considering the similarities it would only be necessary to learn the syntax. As for IDEs I would prefer Eclipse considering it is very easy to use.

3 Likes

This post was flagged by the community and is temporarily hidden.

1 Like

I would like to know why the post was flagged? And I just checked out the website… off that bat you can tell that it is well designed and may be worth a shot. Also my dad taught me Java. You know Father-Son bonding over rage at Java Syntax

2 Likes

another great IDE that everyone whos ever used swears by is Intellij IDEA, but it might actually be best to use a text editor like notepad++ instead, since an IDE does so much for you that it makes it harder to learn.

2 Likes

I seemed to have been on the lower-end of IDE software for Java. My teacher, me, and my classmates learned Java using NetBeans IDE, which looks and feels like knock-off ROBOTC from 2012.

Intellij is the java equivalent to pros. You can acomplish the same things with other editors but if you are familiar with project structures than the learning curve is not that steep. Sure there are plenty of features that you will never use but some features are incredibly usefull such as refactoring, a really intuitive autocomplete, and integration of several llibraries. Plus you can get a free educational liscense for their ultimate edition which has more expert level features such as remote deployment. A more beginner friendly ide is BlueJ and while it lacks several key fetures it is a step up from a standard text editor.

2 Likes

For the record, this is not the case. PROS is a set of tools for programming the cortex and V5 brain, namely the kernel and CLI. PROS is not an IDE or text editor, rather it merely ships bundled with an editor called Atom that is highly customizable. There are many other more standard IDEs than ATOM for C++ programming, such as CLion, Visual Studio, and Visual Studio Code, all of which can be used with PROS (I use CLion). IntelliJ on the other hand is a full blown IDE with text editor for Java.

7 Likes

I am aware I was making an analogy albeit a poor one.