How to practice Java for beginners

Valentin Placido
2 min readAug 23, 2020

As a new school season begins it made me remember learning my first programming language and the many frustrations that came with learning how to code with Java. Java was my very first programming language not because I wanted to learn the language but I was forced to due to my college class being revolved around Java. It took me some time to get a full understanding of the language but in this post I hope to give you as many resources as possible that I used to learn and expand my Java knowledge. This post will include a list of resources with links and how I used each resource to learn and practice Java. So let’s begin!

CodingBat

Coding Bat was recommend to me by my college professor as a great beginners resource to practice Java. Coding Bat is a simplified version of LeetCode but can only be solved using Java. The problems are sorted by sections from basic strings to problems using recursion. This site was a great starting point to gain a grasp on how to write and solve Java problems. I used this site daily until I was fully comfortable to move on to harder questions.

CodingBat.com

LeetCode

LeetCode is probably the most popular site to solve computer science problems in almost any language. I started using LeetCode after I completed most of the problems on CodingBat and felt excited to practice harder problems in Java. Using LeetCode I tried to solve three problems a day while using Java and finding different methods to solve each problem.

LeetCode.com

Java Documentation

The next resource which may be the most useful is the official Java documentation. Without a doubt I visited this site to revise any function or learn new functions in Java. If you have any question or issue with Java this site will most likely have a solution or at least lead you in the right direction.

Oracle.com

Stack Overflow

Now if you have any question no matter what language it has probably been asked on Stack Overflow before and there is probably a solution to that question.

StackOverflow.com

Other Resources

Now here I will list other resources that I used to learn Java that I used along with the resources above:

--

--