Grade calculator
Read marks with Scanner, store them in an array, work out the average and grade, and print a neat report.
Practises
- Arrays
- Loops
- Methods
Java is the first language in many university programming and OOP courses, and it runs Android apps and a great deal of server software. You learn it step by step, live and one-to-one: you write and run every program yourself in the IDE your course uses, and the tutor helps you read each error.
Short answers to the questions students and parents ask first. Each one is explained in more detail further down the page.
Java is used for Android apps, server and business software, and large back-end systems. Many universities also use it to teach programming and object-oriented programming.
University and college students whose course uses Java, beginners who want a structured first language, and students preparing for OOP or data structures in Java. It also helps people who already use Java at work.
No programming experience is required, though some experience in any language helps. You need a laptop or desktop with a JDK and an IDE; the tutor helps you install them.
Java fundamentals, variables and data types, conditions and loops, methods and arrays, classes and objects, object-oriented programming, and collections, exceptions and files.
Live and one-to-one on Microsoft Teams or Zoom. You share your screen and write and run the code yourself, in the IDE your course uses, while the tutor explains and helps you debug.
Book the free 30-minute introductory class with the form on this page or on WhatsApp. We reply within 24 hours. Bring your course outline if you have one, and the tutor suggests where to begin.
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.
Typical exercises from lessons, from first loops to programs built from several classes. The tutor chooses them to match your level and your course.
Read marks with Scanner, store them in an array, work out the average and grade, and print a neat report.
Practises
Book and Member classes, with borrowing and returning, kept in an ArrayList and searched by title.
Practises
An abstract Shape with Circle and Rectangle subclasses, each working out its own area, stored in one list.
Practises
Read a text file, count each word with a HashMap, and handle a missing file with an exception.
Practises
The tutor explains, reviews your code and helps you find bugs, but does not write graded assignments or lab tasks for you.
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.
Java suits every level, from complete beginners to people who use it at work. It asks for a little more structure than Python at the start, so the pace depends on where you begin.
Level: Beginner
You have not programmed before. You start with a first program and build up slowly, with plenty of practice on each topic.
Level: Beginner to intermediate
You know some Python, C++ or another language. Lessons move faster through the basics and spend more time on classes, references and collections.
Level: Intermediate
Your course has reached classes, inheritance or collections. The free class finds the gaps, and lessons start from there.
Level: Working professionals
You already work and need help with Java on the job: a feature, a bug, code you have to understand or a topic you never studied. Lessons work on the problems you bring, using examples or code you are allowed to share.
Java leads naturally into the Computer Science courses that university programmes build on it.
Design with classes, inheritance and interfaces, and draw UML before you code.
Complexity, trees, graphs and algorithms, often taught in Java.
See how memory and pointers work underneath, in C and C++.
Compare Java with Python, JavaScript and the other programming courses.
Java 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 suits your level, your course and your timetable.

Tutor at My Subject Hub
Python, JavaScript, C++, Java and C. One flat monthly fee per course, whatever the number of classes a week.
Object-Oriented Programming, Data Structures and Algorithms and Cybersecurity use the monthly plans, like academic subjects.
See all fees and plansQuestions · 8
The questions students and parents ask us most, filed where you can find them. Pull a card to read it.
Yes. Many universities teach Java first. It asks for a little more structure than Python at the start, such as classes and types, but the tutor explains each piece as it appears.
No. They are different languages with similar names. Java is compiled and strongly typed, and is common in university courses, Android and server software. JavaScript runs web pages in the browser.
Whichever your course uses, such as IntelliJ IDEA, Eclipse, NetBeans or BlueJ. If you have no requirement, the tutor helps you install a free JDK and IDE in the first lesson.
Yes. The later topics cover classes, inheritance, interfaces and polymorphism in Java. Our separate Object-Oriented Programming course then goes further into design and UML.
This course teaches the Java language, which Android apps are built on. For a mobile app in your project or course, tell us what you are building and we confirm what the tutor can cover. For cross-platform apps we teach React Native on the JavaScript course.
There is no fixed length. It depends on where you start, how many lessons you take each week and what your course requires. The tutor suggests a plan after the free class. The fee is $60 a month (SAR 180 in Saudi Arabia), whatever the number of classes a week.
Yes. The course covers every level, from complete beginners to people who already work with Java. Bring the problem you are stuck on: a bug, a feature, code you have to understand or a topic you never studied. Use examples or code you are allowed to share, and the tutor works through it with you.
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, write and run a short Java program together, and agree where to start. Fill in the form and we will arrange a time.
Can’t use WhatsApp? Call +92 317 5700456 or email info@mysubjecthub.com.