OOP only begins to shine in larger systems (projects), hence, you will be hard pressed to find sites that give you problems. What you should do, is to create your own programs. Programs good for OOP approach are any form of card games (here, you have Card. Deck, Hand, Player, Game, etc. classes), dice games, board games, RPGs, etc. Business applications also typically use an OOP approach (yet, I personally prefer games as the OOP concept is easier to see there and games are more fun to program). You could create a very simple horse racing game with OOP. A Horse is a class, each horse has certain properties that make it different from the others (the fields have different values), each horse runs a certain (randomized and modified) distance in a single tick. The main game class would then handle the races, which are split in ticks where in each tick each horse instance is called. After a race the winner would be determined by the main game class. The r/learnprogramming FAQ have extensive lists of project ideas and practice sites Answer from desrtfx on reddit.com
🌐
w3resource
w3resource.com › java-exercises › oop › index.php
Java Object Oriented Programming - Exercises, Practice, Solution
This resource offers a total of 150 Java Object Oriented Programming problems for practice. It includes 30 main exercises, each accompanied by solutions, detailed explanations, and four related problems. [An Editor is available at the bottom of the page to write and execute the scripts.] ... Object-oriented programming: Object-oriented programming (OOP...
🌐
GeeksforGeeks
geeksforgeeks.org › java › java-oop-exercises
Java Object Oriented Programming - Exercises - GeeksforGeeks
August 6, 2025 - Looking for Java OOP exercises to test and improve your object-oriented programming skills? Explore our topic-wise Java OOP practice exercises, featuring over 25 practice problems designed to help you master key OOP concepts such as encapsulation, inheritance, polymorphism, and abstraction.
🌐
NTU
www3.ntu.edu.sg › home › ehchua › programming › java › J3f_OOPExercises.html
OOP Exercises - Java Programming Tutorial
This first exercise shall lead you through all the basic concepts in OOP · A class called circle is designed as shown in the following class diagram. It contains:
🌐
GitHub
github.com › SadeeshaJayaweera › Java-Practical-Codes-
GitHub - SadeeshaJayaweera/Java-Practical-Codes-: Welcome to my Java OOP practice repository! Here, you will find practice code and solutions for various topics related to Object-Oriented Programming (OOP) in Java.
Welcome to my Java OOP practice repository! Here, you will find practice code and solutions for various topics related to Object-Oriented Programming (OOP) in Java. - SadeeshaJayaweera/Java-Practic...
Starred by 7 users
Forked by 6 users
Languages   Java
🌐
Programiz PRO
programiz.pro › course › practice-java-oop
Practice: Java OOP
Apply the skills you have gained from the Learn Java OOP course to solve practice problems and sharpen your OOP skills.
🌐
Reddit
reddit.com › r/learnjava › know of any good java oop practice websites?
r/learnjava on Reddit: Know of any good Java OOP practice websites?
February 21, 2024 -

I have noticed that for Java practice problems online that I have seen, it usually makes you solve the problem in one class file where you do everything in main method. In my class assignments, it mirrors real-world set up in that there are multiple classes that interact with each other somehow to make the program work. I'm rusty on how to code such that multiple classes can interact each other like how to set up the class like which methods to have, how to define variables, how to make sure methods/var in one class can be accessed in another, etc. Is there any website that offers good practice for this? If not any you know of, what else could I try?

For me, I notice I usually do something wrong and do not figure it out until it's way too late, so it will help me for me to have a basic idea of what to avoid before I do anything. Aka if it can grade how I implemented things and offer tips

Also for File i/o. specifically

🌐
GeeksforGeeks
geeksforgeeks.org › java › java-oops-coding-practice-problems
Java OOPs Coding Practice Problems - GeeksforGeeks
July 23, 2025 - Object-Oriented Programming (OOP) ... coding practice problems covers essential topics like class design, constructors, encapsulation, inheritance, and abstraction....
🌐
Runestone Academy
runestone.academy › ns › books › published › apcsareview › OOBasics › Exercises.html
11.23. Code Practice with Object Oriented Concepts — AP CSA Java Review - Obsolete
Practice · Peer Instruction (Instructor) Peer Instruction (Student) Change Course · Instructor's Page · Progress Page · Edit Profile · Change Password · Register · Login · Dark Mode · Scratch Activecode · Help · FAQ · Instructors Guide · About Runestone · Report A Problem ·
Find elsewhere
🌐
GitHub
github.com › giakinh0823 › java-programming-tutorial
GitHub - giakinh0823/java-programming-tutorial: Java Programming Tutorial OOP Exercises. A basic guide to learning java at FPT University for beginners
Java Programming Tutorial OOP Exercises. A basic guide to learning java at FPT University for beginners - giakinh0823/java-programming-tutorial
Starred by 78 users
Forked by 20 users
Languages   Java
🌐
Studocu
studocu.com › comsats university islamabad › object oriented programming › oop-exercises (cs101): java practice problems for object-oriented programming
OOP-Exercises (CS101): Java Practice Problems for Object-Oriented Programming - Studocu
April 12, 2021 - practice problems of Object oriented programming in java practice problems write program to print the area and perimeter of triangle having sides of and units
🌐
Scribd
scribd.com › document › 940528857 › Java-OOP-Practice-Problems
Java OOP Practice Problems | PDF | Laptop | Integer (Computer Science)
The document outlines various object-oriented programming (OOP) practice problems in Java, including systems for managing libraries, laptops, student enrollments, travel agencies, and hospital appointments. Each system includes class definitions, tasks to be accomplished, input and output formats, and sample test cases.
🌐
TechGig
techgig.com › home › practice › java › object oriented programming
objectorientedprogramming - Java Tutorial| Learn Java| Practice Java Programming| Solve Java Problems
objectorientedprogramming - Learn and Practice Java with Techgig's Java Programming Tutorial and Practice Problems. Test and Improve Your Java Skills. Solve Java programming practice questions. Java is a high-level programming language, learn and practice java at Techgig's coding Platform.
🌐
Exercises Java
exercisesjava.com › object-oriented programming
Object-oriented programming | Exercises Java
Practice object-oriented programming exercises in Java. Learn to use constructors, destructors, inheritance, interfaces among others.
🌐
Reddit
reddit.com › r/learnjava › hello where can i find good java oop exercises to practice?
r/learnjava on Reddit: Hello where can I find good java OOP exercises to practice?
November 19, 2014 -

I am looking for a good website which has a lot of inermediate level java OOP real world problems for me to practice. I posted an example below for what type of exercises I am looking for

Implement student's schedule application:

  • A schedule is a list of lectures, each one defined by subject, day-of-week, start & end times

  • Make it possible to create a schedule as described above

  • Make it possible to generate 'schedule in time' for a given period of time, defined by start and end dates. For instance, if lectures are defined like this: Math Mondays 8:00-8:45, Tuesdays 10:00-10:45 Physics Mondays 9:00-9:45 Then a schedule generated for 2016.03.01 (Tue) would contain a single entry, Math

  • Make it possible to answer a question 'What lecture is the student at' for any given point in time. That might be a specific lecture, non-working day, a break between lectures, or a time before or after the lectures. To make it more interesting, account for public holidays, for instance 2016.03.11 would result 'non-working day' even though there might be lectures defined for Friday.

  • Make it impossible to define invalid schedule -- one with lectures overlapping, starting before 8:00 or ending after 18:00

🌐
Java Guides
javaguides.net › 2020 › 04 › java-oops-quiz-coding-programs.html
Java OOPs (Object Oriented Programming) Tricky Coding Interview Questions
September 25, 2024 - This page contains Java OOPS quiz (coding programs) questions on OOPS concepts Abstraction, Encapsulation, Inheritance, and Polymorphism. These questions may ask in interviews or similar questions may appear in interviews so prepare yourself.
🌐
Hirist
hirist.tech › home › top 50 java oops interview questions and answers
Top 50 Java OOPS Interview Questions and Answers (2026) - Hirist Blog
December 29, 2025 - Java does not support multiple inheritance through classes to avoid ambiguity (diamond problem). Instead, it uses interfaces. A class can implement multiple interfaces, allowing it to inherit behaviors from different sources without conflicts. ... Dynamic method dispatch, also called runtime polymorphism, is the process where method calls are resolved at runtime based on the object’s actual type, not the reference type. These are some core Java OOP questions and answers for interviews:
🌐
Quora
quora.com › Where-can-I-practice-OOP-in-Java-I-mean-OOP-practice-code-with-solution
Where can I practice OOP in Java? I mean OOP practice code with solution. - Quora
Answer (1 of 2): For any given language and any given problem it is incredibly rare that there is only one working solution. Even if you try to apply the nebulous concept of ‘best practice’, there still won’t be a single solution - at best you will get a solution that the person who wrote ...
🌐
HackerRank
hackerrank.com › domains › java › oop
Solve Java Code Challenges
Java (Intermediate) Problem Solving (Intermediate) Difficulty · Easy · Medium · Hard · Subdomains · Introduction · Strings · BigNumber · Data Structures · Object Oriented Programming · Exception Handling ·