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.
🌐
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.
🌐
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.
🌐
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.
🌐
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.
🌐
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
🌐
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.
🌐
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.
🌐
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.
🌐
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.
🌐
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
🌐
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.
🌐
Codecademy
codecademy.com › home › 12 java code challenges for beginners
12 Java Code Challenges for Beginners
January 21, 2025 - Below are 12 Java code challenges for beginners. The first six challenges are with strings, while the last six challenges involve numerical inputs.
🌐
GeeksforGeeks
geeksforgeeks.org › java › java
Java Tutorial - Learn Java Programming - GeeksforGeeks
Java basics form the foundation of your programming journey, covering essential concepts like syntax, data types, variables, loops, and conditionals. ... Java methods are reusable blocks of code that perform specific tasks and help organize ...
Published   June 12, 2024