🌐
HackerRank
hackerrank.com › challenges › classes-objects › problem
Classes and Objects | HackerRank
A class defines a blueprint for an object. We use the same syntax to declare objects of a class as we use to declare variables of other basic types. For example: · Kristen is a contender for valedictorian of her high school.
🌐
HackerRank
hackerrank.com › domains › java › oop
Solve Programming Questions | HackerRank
A strictly object-oriented language designed to write industry-standard code.
🌐
GitHub
github.com › sandudorogan › HackerRank-OOP-Solutions
GitHub - sandudorogan/HackerRank-OOP-Solutions: Hacker Rank OOP solutions in C#.
Hacker Rank OOP solutions in C#. Contribute to sandudorogan/HackerRank-OOP-Solutions development by creating an account on GitHub.
Author   sandudorogan
🌐
Reddit
reddit.com › r/csmajors › practice tests for oop hackerrank
r/csMajors on Reddit: Practice Tests for OOP Hackerrank
September 26, 2024 -

I was wondering if anyone knew of a question bank or practice tests for OOP questions on Hackerrank. The questions that I am referring to specifically are the MCQ questions in languages such as C++ or Python where you are given a list of functions and classes and then told to evaluate what is printed out by the program. These are often very tricky, and it would be nice to have a repository of questions to learn the general tricks and patterns.

An example would be something like the following in C++. The prompt would be to evaluate the output. I am looking for some really difficult examples that I can practice, especially in a timed environment.

#include<iostream>
#include<iostream>

using namespace std;
class Base1 {
 public:
     Base1()
     { cout << " Base1's constructor called" << endl; }
}; 

class Base2 {
 public:
     Base2()
     { cout << "Base2's constructor called" << endl;  }
};

class Derived: public Base1, public Base2 {
   public:
     Derived()
     {  cout << "Derived's constructor called" << endl;  }
};

int main()
{
   Derived d;
   return 0;
}

I am aware of there being a bunch of these on GeeksforGeeks. Curious if there are any other niche locations. Looking to practice these for the Old Mission OA, if anyone's taken that.

🌐
HackerRank
hackerrank.com › contests › oops-zaaga
Join OOPs..! on HackerRank
[**Aeon**](http://www.ahaliazaaga.in/#Aeon_event) at [**Zaaga**](http://www.ahaliazaaga.in) Presents **OOPs..!** ,a 3 hour long programming contest. **OOPs** is a coding competition conducted by [**Aeon**](http://www.ahaliazaaga.in/#Aeon_event) ...
🌐
Scribd
scribd.com › document › 366901895 › HackerRank-Solutions
Java OOP Solutions on HackerRank | PDF | Object Oriented Programming | Models Of Computation
This document contains summaries of and links to various Java challenges on HackerRank including Java exception handling using try-catch, the Java factory pattern, method overriding, hashsets, and comparators. It provides code snippets and summaries for challenges involving dividing numbers and handling different exception types, implementing a calculator class with exception handling, using a factory pattern to return different object types based on an order, overriding a method to print team details, adding string pairs to a hashset to find the unique pairs, and implementing a comparator to sort players by score then name.
🌐
HackerRank
hackerrank.com › domains › java › oop › difficulty › all › page › 1
Programming Problems and Competitions :: HackerRank
Join over 28 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
🌐
PREP INSTA
prepinsta.com › home › hackerrank test papers and placement papers › hackerrank technical mcq test | domain test › hackerrank oops quiz › hackerrank oops quiz -1
HackerRank OOPS Quiz -1 » PREP INSTA
May 31, 2021 - Home > HackerRank Test Papers and Placement Papers > HackerRank Technical MCQ Test | Domain Test > HackerRank OOPS Quiz > HackerRank OOPS Quiz -1
🌐
HackerRank
hackerrank.com › skills-directory › c_plus_plus_intermediate
C++ (Intermediate) | Skills Directory | HackerRank
The competency area includes an understanding of pointers, Object-Oriented Programming, working with namespaces, storage classes, templates, enumerations, and writing a basic OOP program, among others.
Find elsewhere
🌐
HackerRank
hackerrank.com › contests › javascript-week2 › challenges › js-prototype
Solve Day 3: Basics of Object Oriented JavaScript - Prototype
Learn about prototypes in JavaScript. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.
🌐
HackerRank
hackerrank.com › challenges › c-tutorial-class › problem
Class | HackerRank
The code provided by HackerRank will use your class members to set and then get the elements of the Student class.
🌐
HackerRank
hackerrank.com › challenges › classes-objects › forum
Classes and Objects Discussions | C++ | HackerRank
Please Login in order to post a comment · class Student { int scores[5]; public: void input(){ for(int i = 0; i < 5; i++){ cin >> scores[i]; } }
🌐
HackerRank
hackerrank.com › skills-directory › c_sharp_basic
C# (Basic) | Skills Directory | HackerRank
This competency area includes understanding the structure of C# programs, types, and Variables, basic OOP, Properties and Indexers, Collections, Exception handling, among others.
🌐
GitHub
github.com › ddayto21 › HackerRank-Python-Solutions
GitHub - ddayto21/HackerRank-Python-Solutions: Python Solutions to HackerRank problems involving Object-Oriented Programming, Graph Search Algorithms, and Matrices
Python Solutions to HackerRank problems involving Object-Oriented Programming, Graph Search Algorithms, and Matrices - GitHub - ddayto21/HackerRank-Python-Solutions: Python Solutions to HackerRank problems involving Object-Oriented Programming, Graph Search Algorithms, and Matrices
Starred by 15 users
Forked by 3 users
Languages   Jupyter Notebook 80.3% | Python 19.7%
🌐
Interview Coder
interviewcoder.co › home › blog › top 30+ hackerrank interview questions to sharpen your coding skills
Top 30+ HackerRank Interview Questions to Sharpen Your ...
August 16, 2025 - Keywords: data structures, coding challenge, HackerRank style, online judge, time complexity. Create base Shape with name and area() abstract method; create Rectangle and Circle subclasses implementing area. Show clear OOP design, input validation, and use of prototype inheritance via class syntax.
🌐
PREP INSTA
prepinsta.com › home › hackerrank test papers and placement papers › top 25 hackerrank coding questions and answers
Top 25 Hackerrank Coding Questions with Solutions | PrepInsta
March 27, 2025 - Top 25 Hackerrank Coding Questions is given in this page along with the Solutions in different languages so tha you ca practice more.
🌐
HackerRank
hackerrank.com › blog › what-is-c-sharp-programming-language-introduction
What Is C#? Unveiling the Magic of C# Programming - HackerRank Blog
June 23, 2023 - Object-Oriented Programming (OOP): C# is fundamentally object oriented, supporting key OOP concepts such as inheritance, encapsulation, polymorphism, and abstraction.