https://geeksforgeeks.com . https://hackerrank.com . https://hackerearth.com . https://codechef.com . https://codeforces.com . https://learnbyexample.com . https://dmoj.ca . https://codewars.com . These are some websites for practicing coding EDIT: including suggestions from the comments https://www.baeldung.com/java-tutorial Answer from Deleted User on reddit.com
🌐
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.
🌐
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.
🌐
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.
🌐
w3resource
w3resource.com › java-exercises
Java programming Exercises, Practice, Solution - w3resource
Practice exercises-from basic to advanced-with sample solutions to boost your coding skills. Challenge yourself, learn by doing, and enjoy coding! ... More to Come ! ... [ Want to contribute to Java exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com.
🌐
W3Schools
w3schools.com › java › java_exercises.asp
Java Exercises
While Loop Do/While Loop Real-Life Examples Java For Loop
🌐
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.
Find elsewhere
🌐
CodeSignal
codesignal.com › learn › paths › java-programming-for-beginners
Java Programming for Beginners | CodeSignal Learn
Learn to create, manipulate objects, and leverage inheritance and encapsulation for improved coding efficiency. Ideal for beginners familiar with Java syntax, loops, functions, and basic data structures.
🌐
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.
🌐
Codecademy
codecademy.com › learn › learn-java
Java Tutorial: Learn Java Programming | Codecademy
Then, practice your skills with two projects where you create and manipulate variables. ... Learn about object-oriented programming in Java. Explore syntax for defining classes and creating instances. ... Conditionals and control flow in Java programs. ... Build lists of data with Java arrays and ArrayLists. ... Use loops to iterate through lists and repeat code...
Rating: 4.4 ​ - ​ 10.5K votes
🌐
Exercism
exercism.org › tracks › java
Java on Exercism
👋Learning to code? Check out ourCoding Fundamentalscourse for beginners! ... 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.
🌐
Code-exercises
code-exercises.com
Java Programming Exercises with Solutions - Practice Online
Java Programming Exercises to Improve your Coding Skills with Solutions. All you need to excel on a Java interview ! Now with Java 8 Lamdbas and Streams exercises.
🌐
YouTube
youtube.com › watch
Java coding exercises for beginners - Methods - YouTube
In this video, I will be solving 2 beginner exercises in Java. I would highly suggest you try to solve these exercises yourself as well!Exercises:A - Largest...
Published   January 20, 2021
🌐
IDTech
idtech.com › blog › how-to-practice-java-online-with-free-coding-websites
Java Coding Practice Online | Exercises From 9 Free Websites for Kids & Teens
It’s a user-friendly sequence of tutorials that beginners to Java or coding in general can use to work their way toward mastering the essentials. Looking for quick warmups, definitions of key terms, and other handy resources to get started? CodingBat is a no-nonsense way to access the essentials in both Java and Python (which you should also consider exploring, as there are plenty of reasons why you should learn Python!) Just like it sounds, this is a workout for programmers! CodeGym offers 1200 “tasks” that coders can progress through on their road to understanding Java.
🌐
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.
🌐
DEV Community
dev.to › devme › java-coding-practice-for-beginners-10-exercises-to-get-you-started-4849
Java Coding Practice for Beginners: 10 Exercises to Get You Started - DEV Community
November 1, 2023 - These practice problems cover basic Java syntax and skills like variables, data types, conditional logic, loops, methods, and objects. Don't worry if you don't understand all these concepts yet, you'll learn as you code! The key is not to get overwhelmed. Take it one exercise at a time, ask questions if you get stuck, and don't forget to have fun with it!
🌐
Placement Preparation
placementpreparation.io › home › blog › programming › best websites to practice java
10 Best Websites to Practice Java in 2025 [Free + Paid]
October 14, 2025 - W3Schools provides Java tutorials with embedded editors where learners can modify and test code immediately. The lessons cover syntax, loops, arrays, and basic OOP. Each tutorial includes exercises tied to the lesson learned. The simplicity of the interface and immediate feedback make it good for absolute beginners. Practice Format: Interactive code examples and exercises
🌐
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.
🌐
Great Learning
mygreatlearning.com › blog › java exercises
Java Practice Programs and Coding Questions for Beginners
September 4, 2025 - Work through 90 Java practice programs, coding questions, and online exercises to improve your programming skills. Ideal for beginners and interview prep.