🌐
w3resource
w3resource.com › java-exercises
Java programming Exercises, Practice, Solution - w3resource
This resource offers a total of 5356 Java Programming problems for practice. It includes 1129 main exercises, each accompanied by solutions, detailed explanations, and 4 to 5 related problems.
🌐
Exercism
exercism.org › tracks › java
Java on Exercism
Join Exercism’s Java Track for access to 155 exercises grouped into 26 Java Concepts, with automatic analysis of your code and personal mentoring, all 100% free.
🌐
W3Schools
w3schools.com › java › java_exercises.asp
Java Exercises
Variables Print Variables Multiple Variables Identifiers Constants (Final) Real-Life Examples Java Data Types
🌐
GeeksforGeeks
geeksforgeeks.org › java › java-exercises
Java Exercises - Basic to Advanced Java Practice Programs with Solutions - GeeksforGeeks
January 3, 2024 - Java Exercises - Basic to Advanced Java Practice Programs with Solutions · 5 min read · Java Quiz · 1 min read · Java Project Ideas For Beginners and Advanced · 15+ min read · Like · Improvement · Suggest changes · Suggest Changes · Help us improve.
🌐
CodingBat
codingbat.com › java
CodingBat Java
CodingBat code practice · Welcome to Codingbat. See help for the latest. Java Example Solution Code · Java String Introduction (video) Java Substring v2 (video) Java String Equals and Loops · Java String indexOf and Parsing · Java If and Boolean Logic · If Boolean Logic Example Solution Code 1 (video) If Boolean Logic Example Solution Code 2 (video) Java For and While Loops ·
🌐
CodeGym
codegym.cc › java-coding-practice
Java Coding Practice | Improve Your Skills with Free Java Exercises
This is a free set of tasks for your Java practice by CodeGym. If you’re a beginner, you can start learning the basics and get immediate feedback on your progress. If you’re a seasoned learner, it will help you estimate your current level of knowledge with additional Java challenges. Try to solve the first tasks – you’ll enjoy it! ... We’ve prepared a collection of Java exercises that will help you grasp the syntax of Java language and some core programming topics.
🌐
Code-exercises
code-exercises.com
Java Programming Exercises with Solutions - Practice Online
Easy Sum of Two Numbers Sum Multiples of Three and Five Factorial Linear Search Reverse String Find Maximum Average Value (Java 8 Lambdas and Streams) Convert to Upper Case (Java 8 Lambdas and Streams) Nth Odd Element Number Of Tree Nodes Count Nodes in List Count Number of Leaf Nodes Binary ...
🌐
Codewars
codewars.com › collections › java-exercises-1
Java Coding Practice | Java Exercises | Java Programs For Practice | Codewars
Codewars is a community where you can learn and practice coding in Java. Solve coding exercises to improve your skills.
Find elsewhere
🌐
LabEx
labex.io › courses › java-exercises
Java Exercises | 200+ Real-world Practice Challenges | LabEx
Practice Java with 200+ hands-on coding exercises. From basic syntax to advanced concepts like data structures & algorithms. Perfect for beginners learning Java programming.
🌐
w3resource
w3resource.com › java-exercises › basic › index.php
Java Basic Programming Exercises - w3resource
This resource features 750 Java Basic exercises, each complete with solutions and detailed explanations. Additionally, each exercise includes four related problems, providing a total of 150 problems for practice.
🌐
Great Learning
mygreatlearning.com › blog › java exercises
Java Practice Exercises
September 4, 2025 - Work through 90 Java practice programs, coding questions, and online exercises to improve your programming skills.
🌐
Programiz PRO
programiz.pro › course › practice-java-basics
Practice: Java Basics
Master the basics of Java programming by solving 60+ practice problems in real-time.
🌐
Reddit
reddit.com › r/learnjava › looking for good java exercises
r/learnjava on Reddit: Looking for good Java exercises
September 15, 2020 -

Hello all,

I am currently doing Mosh's Java course. I am in Section 2 ( OOP) . So far his tutorials are really good but unfortunately is quite light in terms of exercises.

Can anyone recommend me some good place to practice the concepts I learn each day?

I was looking for something like Angela's Python course where each day she does some mini exercises on the topic of the day ending with a bigger challenge that requires concepts from things learnt so far.

🌐
Edabit
edabit.com › challenges › java
800+ Java Practice Challenges // Edabit
Learn to code with fun, bite-sized challenges. Earn XP, unlock achievements and level up. It's like Duolingo for learning to code.
🌐
HackerRank
hackerrank.com › domains › java
Solve Java Code Challenges
Join over 28 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
🌐
CodeChef
codechef.com › practice › java
Practice Java
Complete your Java coding practice with our online Java practice course on CodeChef. Solve over 180 coding problems and challenges to get better at Java.
🌐
NTU
www3.ntu.edu.sg › home › ehchua › programming › java › J2a_BasicsExercises.html
Java Basics Exercises - Java Programming Tutorial
Also study the "Integer.java", "String.java". Similar to Math class, write a Matrix library that supports matrix operations (such as addition, subtraction, multiplication) via 2D arrays. The operations shall support both double and int. Also write a test class to exercise all the operations ...
🌐
Codecademy
codecademy.com › learn › learn-java
Java Tutorial: Learn Java Programming | Codecademy
In this project, we're going to practice creating variables and printing. We're going to put your skills to the test by generating a story, Mad Libs style. ... It's time to build fluency with operators in Java. In this project, we're going to practice arithmetic in Java so you can hone your skills and feel confident taking them to the real world.
Rating: 4.4 ​ - ​ 10.5K votes