🌐
GeeksforGeeks
geeksforgeeks.org › java › java-exercises
Java Exercises - Basic to Advanced Java Practice Programs with Solutions - GeeksforGeeks
January 3, 2024 - This Java exercise collection is designed to deepen your understanding of Java and refine your coding skills. The programs provide hands-on experience in solving real-world problems, reinforce key concepts, and help you master Java fundamentals, including variables, control statements, arrays, strings, methods, and object-oriented programming.
🌐
w3resource
w3resource.com › java-exercises
Java programming Exercises, Practice, Solution - w3resource
This resource offers a total of 5356 Java Programming problems for practice.
🌐
HackerRank
hackerrank.com › domains › java
Solve Java Code Challenges
Please read our cookie policy for more information about how we use cookies. Ok · Prepare · Java · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Solve Challenge · Status · Solved · Unsolved · Skills · Java (Basic) Java (Intermediate) Problem Solving (Intermediate) Difficulty ·
🌐
W3Schools
w3schools.com › java › java_exercises.asp
Java Exercises
assert abstract boolean break byte case catch char class continue default do double else enum exports extends final finally float for if implements import instanceof int interface long module native new package private protected public return requires short static super switch synchronized this throw throws transient try var void volatile while Java String Methods
🌐
Codecademy
codecademy.com › home › 12 java code challenges for beginners
12 Java Code Challenges for Beginners
January 21, 2025 - Are you learning Java and looking for exercises to test your new skills? Try these 12 Java code challenges for beginners and put your Java knowledge to use.
🌐
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.
🌐
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.
🌐
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.
Find elsewhere
🌐
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.
🌐
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 ...
🌐
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.
🌐
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 ·
🌐
Iusb
cs.iusb.edu › docs › students › C101-PracticeProblems.pdf pdf
Some Practice Problems for the Java Exam and Solutions for the Problems
Java Study Guide". There are 40 problems. The solutions for the problems are given at the end, after the statement of
🌐
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.
🌐
Programiz PRO
programiz.pro › community-challenges › java
Java Coding Challenges | Programiz PRO
Java Certification · DSA with Python · DSA with C++ Complexity Calculation · DSA Certification · Explore Projects · Get started with projects and learn to build real-world applications · Create a new project · Start from a blank playground and build anything you want · GUIDED PROJECTSView all · Simple Dice RollerBeginner · Build this classic game piece by piece by solving interactive problems ·
🌐
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.
🌐
GeeksforGeeks
geeksforgeeks.org › java › java-coding-practice-problems-1
Java Coding Practice Problems - GeeksforGeeks
August 11, 2025 - Java coding practice problems help learners and professionals improve their programming skills through real-world challenges, covering topics like data structures, algorithms, and object-oriented concepts. Fundamentals – The basic building blocks of the Java language, including how to write and run a program, use variables to store data, apply operators for calculations, and control program flow with decisions (if/else) and loops.
🌐
Java67
java67.com › 2013 › 01 › 10-programming-questions-and-exercises.html
10 Programming questions and exercises for Java Programmers | Java67
And, now one question for you, what is your favorite coding exercise from this one? Factorial, Pattern based problem, Palindrome or Armstrong number? or anything else, do let me know in comments. ... These are good Java programming exercises for beginners but for experienced programmer its too simple.