Library loans
Books, members and loans as classes that refuse impossible actions, such as lending a book that is already out.
Practises
- Classes and objects
- Encapsulation
- Composition
Object-Oriented Programming is a way of designing programs, not a language of its own. You learn to model a problem as classes and objects, protect their data and reuse code safely, live and one-to-one, in the language your school or university course uses.
Short answers to the questions students and parents ask first. Each one is explained in more detail further down the page.
A way of designing programs as objects that hold their own data and behaviour, described by classes. It is a programming concept, not a language: Java, C++, Python and many other languages support it, and the same ideas apply in each.
Students on a university or school course that covers classes, students who have finished a first programming course, and self-taught programmers whose programs have become hard to change.
You should be able to write a short program with variables, conditions, loops and functions in one language. If you cannot yet, start with a language course first.
Classes and objects, constructors and methods, encapsulation, inheritance, polymorphism, abstraction, and practical class design with UML diagrams and an introduction to SOLID.
Java, C++ or Python, whichever your course uses. Classes are live and one-to-one on Microsoft Teams or Zoom: you share your screen and write the code while the tutor explains and reviews.
Book the free 30-minute introductory class with the form on this page or on WhatsApp. Tell us your course and language; we reply within 24 hours.
The topics in the order they are usually taught. The tutor adjusts the order and depth to your level, and to your school or university syllabus if you share it.
OOP is taught in the language your course uses. Here is the same small class, a bank account that protects its balance, in each of them. The syntax changes; the ideas do not: private data, a constructor that sets a valid starting state, and a method that refuses bad input.
public class Account {
private double balance;
public Account(double opening) {
balance = opening;
}
public void deposit(double amount) {
if (amount <= 0)
throw new IllegalArgumentException();
balance += amount;
}
}class Account {
double balance; // private by default
public:
explicit Account(double opening)
: balance(opening) {}
void deposit(double amount) {
if (amount <= 0)
throw std::invalid_argument("amount");
balance += amount;
}
};class Account:
def __init__(self, opening):
# private by convention
self._balance = opening
def deposit(self, amount):
if amount <= 0:
raise ValueError("amount")
self._balance += amountIn lessons you would go on to add a savings account that inherits from this class, and a list of accounts that is processed polymorphically.
Examples of models built in lessons. The tutor picks ones that suit your course, and you write every line yourself.
Books, members and loans as classes that refuse impossible actions, such as lending a book that is already out.
Practises
Circles, rectangles and triangles in one list, each working out its own area and perimeter.
Practises
Salaried staff, hourly staff and contractors are all paid through one interface, so adding a new kind of worker changes nothing else.
Practises
Take a working program written as one long file and split it into classes with clear jobs, keeping it working at every step.
Practises
The tutor explains, reviews your design and helps you find bugs, but does not write graded assignments, lab tasks or project code for you to submit.
These are the aims of the lessons. Progress depends on where you start and how much you practise, and we never promise grades or results.
OOP is an intermediate course: it builds on a first programming course. Where you start depends on what you already know.
Level: Beginner to intermediate
You can program with functions, and your school or university course has just introduced classes. Lessons begin with objects, constructors and encapsulation.
Level: Intermediate
Lessons follow your course outline through inheritance, polymorphism and abstraction, with practice in the style of your lab tasks and exams.
Level: Advanced
You know the syntax but struggle to structure a real program. Lessons focus on responsibilities, composition, UML and the SOLID principles.
OOP connects the language courses to the rest of Computer Science. These are the usual next steps, and the courses to take first if you need them.
Build linked lists, trees and graphs from classes, and learn how fast each operation is.
The full C++ course, from first programs to pointers, classes and virtual functions.
Learn programming from zero in Python before moving on to classes and objects.
Final-year students: plan the classes and structure of your project with a mentor.
OOP classes are taught by the programming tutors below. Each profile is published with the tutor’s consent. When you get in touch, we suggest a tutor who knows your course language.

Tutor at My Subject Hub
Per subject, per month, in US, Canadian, Australian or New Zealand dollars, and in Saudi riyals with 20% off for students in Saudi Arabia. Every plan starts with a free trial class.
For students in the United States and every other country without its own price list, in US dollars.
$40per month, per subject
That’s $5 a class
2 classes a week = 8 classes a month, 60 minutes each, for $40 a month.
No credit card required
$60per month, per subject
That’s $5 a class
3 classes a week = 12 classes a month, 60 minutes each, for $60 a month.
No credit card required
$70per month, per subject
That’s $4.38 a class
4 classes a week = 16 classes a month, 45 minutes each, for $70 a month.
No credit card required
Each plan is for one subject. A second subject is a second plan.
For students in Canada, in Canadian dollars.
CA$55per month, per subject
That’s CA$6.88 a class
2 classes a week = 8 classes a month, 60 minutes each, for CA$55 a month.
No credit card required
CA$85per month, per subject
That’s CA$7.08 a class
3 classes a week = 12 classes a month, 60 minutes each, for CA$85 a month.
No credit card required
CA$100per month, per subject
That’s CA$6.25 a class
4 classes a week = 16 classes a month, 45 minutes each, for CA$100 a month.
No credit card required
Each plan is for one subject. A second subject is a second plan.
For students in Australia, in Australian dollars.
A$60per month, per subject
That’s A$7.50 a class
2 classes a week = 8 classes a month, 60 minutes each, for A$60 a month.
No credit card required
A$90per month, per subject
That’s A$7.50 a class
3 classes a week = 12 classes a month, 60 minutes each, for A$90 a month.
No credit card required
A$105per month, per subject
That’s A$6.56 a class
4 classes a week = 16 classes a month, 45 minutes each, for A$105 a month.
No credit card required
Each plan is for one subject. A second subject is a second plan.
For students in New Zealand, in New Zealand dollars.
NZ$70per month, per subject
That’s NZ$8.75 a class
2 classes a week = 8 classes a month, 60 minutes each, for NZ$70 a month.
No credit card required
NZ$105per month, per subject
That’s NZ$8.75 a class
3 classes a week = 12 classes a month, 60 minutes each, for NZ$105 a month.
No credit card required
NZ$120per month, per subject
That’s NZ$7.50 a class
4 classes a week = 16 classes a month, 45 minutes each, for NZ$120 a month.
No credit card required
Each plan is for one subject. A second subject is a second plan.
For students in Saudi Arabia, in Saudi riyals, with a 20% discount.
SAR 120per month, per subject
That’s SAR 15 a class
2 classes a week = 8 classes a month, 60 minutes each, for SAR 120 a month.
No credit card required
SAR 180per month, per subject
That’s SAR 15 a class
3 classes a week = 12 classes a month, 60 minutes each, for SAR 180 a month.
No credit card required
SAR 210per month, per subject
That’s SAR 13.13 a class
4 classes a week = 16 classes a month, 45 minutes each, for SAR 210 a month.
No credit card required
Each plan is for one subject. A second subject is a second plan.
Questions · 9
The questions students and parents ask us most, filed where you can find them. Pull a card to read it.
Learn the basics of one language first, then study OOP in that language by designing small classes and building on them. Work through the four core ideas in order, encapsulation, inheritance, polymorphism and abstraction, and write and change code for each instead of only reading definitions. At My Subject Hub you can learn OOP live and one-to-one online in Java, C++ or Python, following your own course, and the first 30-minute class is free.
No. Object-Oriented Programming is a way of organising a program around classes and objects. Many languages support it, including Java, C++, Python, C# and JavaScript. We teach it in Java, C++ or Python, whichever your course uses, and the ideas carry over to the others.
The one your course or exam uses. If you are free to choose, Java makes the ideas very visible because everything lives in a class, C++ adds memory and virtual functions, and Python lets you focus on design with less syntax. The tutor can show a concept in a second language when that helps.
If you can write a program with loops, functions and arrays on your own, yes. If not, a few lessons of a language course first will make OOP much easier.
Overloading means several methods with the same name but different parameters in one class; the compiler picks one from the arguments. Overriding means a subclass replaces a method it inherited with the same signature; the object’s real type decides which runs. Both are covered, with code, in the polymorphism lessons.
Yes. Share your course outline or past papers, and the tutor follows its order of topics and uses the same style of questions and lab tasks for practice.
Data Structures and Algorithms is the usual next course, because linked lists, trees and graphs are built from classes. Final-year students can also bring their project design to the FYP mentoring sessions.
There is no fixed length. It depends on where you start and what your course covers; the tutor suggests a plan after the free 30-minute class. OOP uses the monthly plans, from $40 a month (SAR 120 in Saudi Arabia).
Yes. Female tutors are available on request, and so are male tutors. Tell us your preference when you get in touch, and we confirm a matching tutor before the free class.
Not in the drawer? Send us your question and we reply within 24 hours.
Ask usMeet the tutor, look at a small class together, and find out where to start. Tell us your course and language, and we will arrange a time.
Can’t use WhatsApp? Call +92 317 5700456 or email info@mysubjecthub.com.