w3resource
w3resource.com › java-exercises
Java programming Exercises, Practice, Solution - w3resource
This resource offers a total of 5356 Java Programming problems for practice.
Videos
01:18:54
Java interview questions and answers for experienced | Live Mock ...
Java Multiple Choice Quiz Program Tutorial #31
01:14:14
Mock Interview | Core Java Mock Interview Question and Answers ...
24:11
Java 8 Arrays Programming Interview Questions and Answers for ...
31:20
Java Tutorial: Practice Questions on Java Methods - YouTube
10:36
Java Tutorial: Chapter 1- Practice Set | Java Practice Problems ...
HackerRank
hackerrank.com › domains › java
Solve Programming Questions | HackerRank
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
Java Examples Java Compiler Java Exercises Java Quiz Java Server Java Syllabus Java Study Plan Java Interview Q&A Java Certificate ... Tip: Sign in to track your progress - it's free. ... If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete. As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more. The exercises are a mix of "multiple choice" and "fill in the blanks" questions.
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.
DigitalOcean
digitalocean.com › community › tutorials › java-programming-interview-questions
Top Java Coding Interview Questions (With Answers) | DigitalOcean
April 17, 2025 - Practice coding: Solve problems on platforms like LeetCode, HackerRank, or CodeWars. Focus on common interview topics: Study multithreading, concurrency, and Java-specific topics like serialization and reflection. Prepare to answer behavioral questions: Be ready to discuss your past projects, ...
LinkedIn
linkedin.com › pulse › 25-java-code-based-questions-practice--pxphf
25 Java Code-Based Questions For Practice:
We cannot provide a description for this page right now
CodingBat
codingbat.com › java
CodingBat Java
Java Functional Filtering · Code Badges · Introduction to Mod (video) MakeBricks problem and solution (video x 2) FizzBuzz the famous code interview question (video) Copyright Nick Parlante 2017 - privacy
InterviewBit
interviewbit.com › java-interview-questions
Core Java Interview Questions and Answers (2025) - InterviewBit
The following article will cover all the popular Core Java interview questions, String Handling interview questions, Java 8 interview questions, Java multithreading interview questions, Java OOPs interview questions, Java exception handling interview questions, collections interview questions, and some frequently asked Java coding interview questions.
Published December 21, 2024
Reddit
reddit.com › r/javahelp › java practice: someone give me basic problems!
r/javahelp on Reddit: Java Practice: Someone give me basic problems!
February 6, 2023 -
Hi there,
I am in the middle of Chapter 2 of my Intro to Java course.
I just completed the "Interest Rate Calculator" portion of the section.
I'm looking for examples (or formulas) to practice writing in Java.
I have already done Area of a Rectangular Prism, Area of a Hexagonal Prism, Wind Speed Calculation etc on my own. Does anyone have a nice source of practice examples that propose a problem for beginners? Or does anyone want to propose a problem example themselves?
Any and all help is appreciated!!!
Top answer 1 of 5
8
There are a few sites that are basically just coding challenges in various languages here are some java specific links: https://codingbat.com/java https://www.hackerrank.com/domains/java https://www.codewars.com/collections/java-challenges
2 of 5
3
an interesting way of practicing loops is trying to print patterns on screen. something like: ----- ---- -- - or - --- ----- finding ways of printing patterns like these for any number of lines is pretty good for learning the capabilities of loops and developing logical thinking in general i guess. A good one to try and make could be /\ / \ / \ \ / \/ \/ this is suposed to be a diamond, i didn't know reddit made this with spaces
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.
Iusb
cs.iusb.edu › docs › students › C101-PracticeProblems.pdf pdf
Some Practice Problems for the Java Exam and Solutions for the Problems
and it should return the value 5. The question marks in the cells after the 5th cell indicate that it does not · matter what numbers are in those cells when the function returns. 39. Write a function called “isOrdered” that takes one parameter representing an array of float values · and returns true if the values of the array are in ascending order, and false otherwise. For example, if the ... 40. Write an entire Java program that reads a positive integer entered by an interactive user and then prints
Oracle
docs.oracle.com › javase › tutorial › getStarted › QandE › questions.html
Questions and Exercises: Getting Started (The Java™ Tutorials > Getting Started)
Question 6: What parameters does the main method define? Exercise 1: Change the HelloWorldApp.java program so that it displays Hola Mundo!
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.
W3Schools
w3schools.com › java › java_quiz.asp
Java Quiz
You can test your Java skills with W3Schools' Quiz. The test contains 25 questions and there is no time limit.
Java Code Geeks
javacodegeeks.com › home › core java
150 Java Interview Questions & Answers - Java Code Geeks - 2025
August 1, 2025 - In the following sections we will discuss Java Interview Questions about object-oriented programming and its characteristics, general questions regarding Java and its functionality, collections in Java, garbage collectors, exception handling, Java applets, Swing, JDBC, Remote Method Invocation (RMI), Servlets and JSP.
Programiz PRO
programiz.pro › course › practice-java-oop
Practice: Java OOP
Practice: Java OOP provides you with a set of programming exercises to help you apply your theoretical knowledge into practice.