Skip to content
</>
CodingGyan
Topics
About
Search problems
โพ
Home
/
Object-Oriented Programming
๐งฉ
Object-Oriented Programming
Classes, objects, inheritance and interfaces. 38 problems ยท Beginner level.
All
Easy
Medium
Hard
38 problems
Encapsulation
โ
Bounded Counter Class
easy
โ
Inventory Class with Encapsulation
medium
โ
Bit Set Class
medium
Inheritance
โ
Constructor Chain with super
medium
data structure classes
โ
Build a Stack Class
easy
โ
Circular Buffer Queue
medium
โ
Build a Singly Linked List Class
medium
โ
Deque Class with a Doubly Linked List
medium
โ
Sparse Vector Class
medium
enums
โ
Traffic Light State Machine with Enum
easy
โ
Enum with Behaviour: Operations
medium
interfaces
โ
Animal Sounds with an Interface
easy
โ
Discount Policies with a Default Method
medium
static members
โ
Static Counter: ID Generator
easy
value objects
โ
Vector2D Class
easy
โ
Clock Time Class
medium
โ
Interval Class: Overlap and Union
medium
โ
Rectangle Class: Intersection and Containment
medium
classes and encapsulation
โ
Bank Account Simulator
medium
inheritance and polymorphism
โ
Shape Areas with Polymorphism
medium
โ
Payroll with Inheritance and Method Overriding
medium
object equality
โ
Count Unique Points (equals and hashCode)
medium
classes and immutability
โ
Fraction Class Calculator
medium
comparable and comparator
โ
Sort Students with a Comparator
medium
generics
โ
Generic Pair Class
medium
โ
Generic Maximum with a Type Bound
medium
โ
Number Stack with a Bounded Type
medium
immutability
โ
Immutable Money Class
medium
classes and operations
โ
Complex Number Class
medium
โ
Polynomial Class: Add and Multiply
hard
abstract classes
โ
Toll Calculator (Polymorphism)
medium
comparator
โ
Sort with a Chain of Comparators
medium
object modelling
โ
Library Lending with Classes
medium
iterators
โ
Custom Iterator: Stepped Range
medium
copying objects
โ
Copying a Playlist: Deep Copy
medium
classes with rules
โ
Matrix Class with Dimension Checks
medium
composition
โ
Counting Set Wrapper (Composition)
medium
bit flags
โ
Permission Flags with Bits
medium