🌐
Iusb
cs.iusb.edu › docs › students › C101-PracticeProblems.pdf pdf
Some Practice Problems for the Java Exam and Solutions for the Problems
The problems below are not intended to teach you how to program in Java. You should not attempt · them until you believe you have mastered all the topics on the "Checklist" in the document entitled "C101 · Java Study Guide". There are 40 problems. The solutions for the problems are given ...
🌐
Javaforaliens
javaforaliens.com › files › jfa13-exe-1-20-E.pdf pdf
Exercises - Java for Aliens Landing Page
A) Brief History of Java B) JDK ... Derby L) JavaFX Installation Notes M) EJE N) Easter Eggs O) Bibliography ... This file contains all the exercises (and their solutions) in the book and must be considered an integral part of it. It was decided to provide the exercises as PDF file, only to not add (currently) 724 pages to the of the book, and consequently limit its price. You will create brief programs to satisfy ...
Discussions

Java books focused on coding exercises
I can recommend Introduction to Java programming and Data Structures by Y. Daniel Liang, personally for me it is helping a lot. More on reddit.com
🌐 r/learnjava
15
62
April 20, 2020
Java Programming Exercises? - Stack Overflow
I am fairly new to java coding. I took a camp for two weeks during the summer, and I learned stuff like loops, constructors, arrays, if statements, etc. Basically it was all in the console, I never More on stackoverflow.com
🌐 stackoverflow.com
Any website that offers java programming exercises with solutions from beginner to advance?
I'm a beginner but this site http://mooc.fi/english.html has been amazing and really helped things click for me. More on reddit.com
🌐 r/learnjava
20
12
October 26, 2017
Exercises to improve my Java programming skills - Stack Overflow
I have learned basics of Java but want to practice more. I was looking via Google and couldn't find many beginner level problems that I can solve using Java. Any suggestions? More on stackoverflow.com
🌐 stackoverflow.com
🌐
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.
🌐
MITE
mite.ac.in › wp-content › uploads › 2022 › 10 › Java-program-exercises.pdf pdf
JAVA PROGRAM EXERCISES
Accredited by NAAC with A+ Grade, An ISO 9001: 2015 Certified Institution · A Unit of Rajalaxmi Education Trust®, Mangalore - 575001 · Affiliated to V.T.U., Belagavi, Approved by AICTE, New Delhi. Department of Information Science & Engineering · JAVA PROGRAM EXERCISES ·
🌐
Ipsgwalior
ipsgwalior.org › download › javaprograms.pdf pdf
JAVA PROGRAMS Display odd numbers between 1 -100 class OddNumber {
String input="Welcome,to,Java Session Session Session"; String[] words=input.split(","); for(int k=0;k<words.length;k++) { System.out.println(words[k]); } } } Program to convert ASCI value to String · public class AsciiToCharacter · { public static void main(String[] args) { char c; for(int i=65;i<=90;i++) { c =(char)i; System.out.println(i+" = "+c); } } } Program to replace vowels with star ·
🌐
Scribd
scribd.com › document › 662868477 › Java-Programming-Exercises-With-Solutions-PDF
Java Programming Exercises With Solutions PDF | PDF | Teaching Methods & Materials | Technology & Engineering
Java Programming Exercises With ... online for free. The document provides programs to demonstrate various Java concepts like encapsulation, polymorphism, data types, loops, arrays, and more....
🌐
University of Cambridge
cl.cam.ac.uk › teaching › 0708 › ProgJava › java.pdf pdf
Programming in Java A C Norman, Lent Term 2008 Part IA
Java classes and packages . . . . . . . . . . . . . . . . . . . . . . ... Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . 108 ... Name-spaces and classes . . . . . . . . . . . . . . . . . . 120 ... Program development with classes . . . . . . . .
🌐
GeeksforGeeks
geeksforgeeks.org › java › java-exercises
Java Exercises - Basic to Advanced Java Practice Programs with Solutions - GeeksforGeeks
October 9, 2025 - 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, ...
Find elsewhere
🌐
W3Schools
w3schools.com › java › java_exercises.asp
Java Exercises
if else else if Short Hand If...Else Nested If Logical Operators Real-Life Examples Java Switch Java While Loop
🌐
Reddit
reddit.com › r/learnjava › java books focused on coding exercises
Java books focused on coding exercises : r/learnjava
April 20, 2020 - Probably best book with hundreds of Java coding exercises would be ur free Java book, there is ur free copy here · Link: https://twitter.com/java/status/1041540247111327744 ... I don't think that is what OP was looking for. I think they were looking for like problem prompts to solve and work though. That being said, I'm book marking this. Pretty good resource for a quick reference for things I haven't looked at it years! More replies ... Fundamentals of Java Programming book I’m reading right now has many exercises in it after every chapter.
🌐
Codecademy
codecademy.com › learn › learn-java
Java Tutorial: Learn Java Programming | Codecademy
Java is a popular object-oriented programming language that is used in many different industries. ... Learn about datatypes in Java and how we use them. Then, practice your skills with two projects where you create and manipulate variables.
Rating: 4.4 ​ - ​ 10.5K votes
🌐
NTU
www3.ntu.edu.sg › home › ehchua › programming › java › J2a_BasicsExercises.html
Java Basics Exercises - Java Programming Tutorial
This is because char + int is implicitly casted to int + int which returns an int value. To obtain a char value, you need to perform explicit type casting using (char)('A' + 3). Try printing ('A' + 3) with and without type casting. Write a program called DecipherCaesarCode to decipher the Caesar's code described in the previous exercise.
🌐
Java Concept Of The Day
javaconceptoftheday.com › home › java 8 interview sample coding questions
Java 8 Interview Sample Coding Questions
March 6, 2025 - import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Collectors; public class Java8Code { public static void main(String[] args) { List<Integer> listOfIntegers = Arrays.asList(71, 18, 42, 21, 67, 32, 95, 14, 56, 87); Map<Boolean, List<Integer>> oddEvenNumbersMap = listOfIntegers.stream().collect(Collectors.partitioningBy(i -> i % 2 == 0)); Set<Entry<Boolean, List<Integer>>> entrySet = oddEvenNumbersMap.entrySet(); for (Entry<Boolean, List<Integer>> entry : entrySet) { System.out.println("--------------"); if (entry.getKey()) { System.out.println("Even Numbers"); } else { System.out.println("Odd Numbers"); } System.out.println("--------------"); List<Integer> list = entry.getValue(); for (int i : list) { System.out.println(i); } } } }
🌐
HackerRank
hackerrank.com › domains › java
Solve Programming Questions | HackerRank
Java (Intermediate) Problem Solving (Intermediate) Difficulty · Easy · Medium · Hard · Subdomains · Introduction · Strings · BigNumber · Data Structures · Object Oriented Programming · Exception Handling ·
🌐
Reddit
reddit.com › r/learnjava › any website that offers java programming exercises with solutions from beginner to advance?
r/learnjava on Reddit: Any website that offers java programming exercises with solutions from beginner to advance?
October 26, 2017 -

Right, so my teacher at my school is teaching stuff which is kinda most of the time difficult and doesn't make any sense, but some of his assignment feels so hard at my current level. I need some other more simple exercises and building it to more intermediate and advanced stage.

For example, at my current situation, I need primarily a lot of practice with boolean stuff (if statements) also importing other classes (Object Orienting Programming) and working with methods such as getter and setter and it should include if statements as well stuff as well. I am also open to a lot of other challenges as well, but I need something to start off with easy level and then building it up slowly, but surely to more and more challenge.

Really appreciate if someone could offer me any website, books etc...

🌐
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.
🌐
CodeGym
codegym.cc › java-coding-practice
Java Coding Practice | Improve Your Skills with Free Java Exercises
We’ve prepared a collection of Java exercises that will help you grasp the syntax of Java language and some core programming topics. In addition, you’ll find useful links to articles that cover the theory of Java.