JAJA / EXAM / 01
Cambridge A Level CS 9618
Theory and programming papers, Java now allowed.
Open the syllabusHong Kong · Java · 13 to adult
Java is a strange language to search for in Hong Kong. The local DSE no longer uses it, yet a student at an international school may need it for AP Computer Science A or A level, an IB student may choose it, and many university programming courses still start with it. If Java is the language in front of you, our lessons teach it properly: one to one, live online and in English.
Teaching since 2020 · 10,000+ students worldwide · Hong Kong lessons are always one to one, live and in English
In short
Modern Age Coders teaches Java to learners in Hong Kong from about 13 to adult, in live online lessons, one to one and in English, at Hong Kong times you choose. Teens learn the full language for school and contests, AP Computer Science A students follow a dedicated exam course, and university students and adults take a course that runs from core Java to building real applications. Java is not an HKDSE ICT language any more, but AP, Cambridge A level, IB and many universities use it. The first class is free.
Courses
Pick by where Java is coming from in your life: school, an exam, or university and work.

JAJA / 01
From first programs through classes, inheritance, collections and JavaFX apps to data structures and algorithms. Suits international-school students who want Java done thoroughly.
Open the syllabus →
JAJA / 02
Twenty-four weeks aimed at the AP exam: the Java subset it tests, multiple-choice speed and the four free-response question types, starting from no prior coding.
Open the syllabus →
JAJA / 03
For university students and adults: core Java, then databases, web services and Spring Boot, with a portfolio project at the end.
Open the syllabus →Java in Hong Kong
Not in the HKDSE any more, but in several other places a Hong Kong student may meet. Here is where Java stands in each, from the organisers' own documents.
| Exam or contest | Java's place | Source |
|---|---|---|
| HKDSE ICT | Listed only for the 2024 exam or before; Python and C++ from the 2028 exam onward | EDB ICT guide, 2021, Appendix 3 |
| AP Computer Science A | Required: solutions “be written in the Java programming language” | College Board course overview |
| Cambridge AS and A Level CS 9618 | Added, alongside Python and Visual Basic, in the 2027 to 2029 syllabus | Cambridge 9618 page |
| IB Diploma Computer Science | A choice: Java or Python, first assessed May 2027 | ManageBac summary of the new guide |
| Hong Kong Olympiad in Informatics | Not used: C++ first, Python second class | HKOI rules |
Sources: EDB, ICT Curriculum and Assessment Guide (S4 to 6) (2021), Appendix 3, table read against the printed page; College Board, AP Computer Science A course overview; Cambridge International, AS and A Level Computer Science 9618 page; ManageBac (Faria Education Group), “New Computer Science Guide: What to Expect” (a school-software vendor's summary, as the IB's own site refused our request); HKOI rules. All read 23 November 2026.
Then Java is a choice, not a requirement. The EDB's table shows Java in the oldest cohort column only, and the 2028 exam onward lists just Python and C++. A DSE student who wants Java for interest or for university later can learn it, but should not expect it to help in the ICT paper.
For DSE ICT itself, our Python course for Hong Kong explains what the exam uses.
Java matters most here. A student taking AP Computer Science A must write Java. A Cambridge 9618 student may now choose it. An IB student may pick Java or Python for the new course. Each needs the language plus the exam's own habits.
Our pages on AP Computer Science A classes and choosing a language for 9618 Paper 4 go further.
Which Java
A long-term-support release. Oracle's roadmap says “Java SE 8, 11, 17, 21, and 25 are LTS releases”, and those are the versions schools, universities and employers settle on.
| Release | What the publisher says | For a learner in 2026 |
|---|---|---|
| Java 21 | An LTS release | Still widely installed in schools and universities |
| Java 25 | An LTS release; “JDK 25 reached General Availability on 16 September 2025.” | The newest LTS; a good default |
| Java 29 | “the next planned LTS release is Java 29 in September 2027” | Not yet released |
Sources: Oracle, Java SE Support Roadmap; OpenJDK, JDK 25 project page. Both read 23 November 2026. The last column is our advice. Exams test the language, not the latest features, so 21 or 25 both work for AP, A level and IB.
Java has a reputation for heavy first programs: a class, public static void main(String[] args), before anything happens. JEP 512, delivered in Java 25, aims to “Evolve the Java programming language so that beginners can write their first programs without needing to understand language features designed for large programs.”
We use that for the very first lessons where it helps, then move to the full form, because exams and most existing code still use it.
A JDK (not just a runtime) and an editor. Our teen course uses IntelliJ IDEA; many schools use BlueJ or Eclipse, and we teach in whatever your school expects. The mentor installs it with you in the free class.
If the compiler throws a “cannot find symbol” error on day one, you are in good company: see the cannot-find-symbol error explained.
AP Computer Science A
The College Board calls AP Computer Science A “an introductory college-level computer science course” that “focuses on object-oriented programming and problem-solving using the Java programming language.” The exam tests a defined part of Java, not all of it.
| Section | Questions | Time | Share of score |
|---|---|---|---|
| I: Multiple-choice | 42 | 90 minutes | 55% |
| II: Free-response | 4 | 90 minutes | 45% |
| Whole exam | 46 | 3 hours | 100% |
Source: College Board, AP Computer Science A course overview (PDF), read 23 November 2026: “The exam is 3 hours long and includes 42 multiple-choice questions and 4 free-response questions.” The course also needs “a minimum of 20 hours of hands-on, structured lab experiences”, which the school arranges. AP exams are taken through a school or authorised test centre, not through us.
By our own division, that is a little over two minutes for each multiple-choice question and about twenty-two minutes for each free-response question. Multiple-choice rewards fast, accurate code reading; free-response rewards writing correct methods and classes by hand.
The College Board says the exam “covers a subset of Java”, and students receive a quick-reference sheet of the library methods that may appear. Knowing exactly what is in that subset saves weeks.
Our AP course teaches Java from zero, then practises both sections with questions we write ourselves in the exam's style; we never reproduce College Board questions. Hand-written code practice matters, so students write methods on paper or a plain editor without autocomplete.
We do not promise a score. Our AP CS A practice questions page shows the kind of work involved.
A sample lesson
Every Java learner eventually writes if (answer == "yes") and wonders why it fails. The cause is one of the most important ideas in the language: two things can be equal in value without being the same object. Here is the lesson we use, run on a real JDK.
// Two kinds of "equal" in Java: the same object, or the same value. Our own example.
import java.util.Scanner;
public class SameOrEqual {
public static void main(String[] args) {
String typed = new Scanner("kowloon\n").nextLine(); // as if a user typed it
String stored = "kowloon";
System.out.println("1. typed == stored : " + (typed == stored));
System.out.println(" typed.equals(stored) : " + typed.equals(stored));
Integer a = 127, b = 127;
Integer c = 128, d = 128;
System.out.println("2. 127 == 127 (Integer) : " + (a == b));
System.out.println(" 128 == 128 (Integer) : " + (c == d));
System.out.println(" 128 equals 128 : " + c.equals(d));
int e = 128, f = 128;
System.out.println("3. 128 == 128 (int) : " + (e == f));
}
}Our own program, written for this page. Compiled and run with OpenJDK 21; the output below is exactly what it printed.
1. typed == stored : false typed.equals(stored) : true 2. 127 == 127 (Integer) : true 128 == 128 (Integer) : false 128 equals 128 : true 3. 128 == 128 (int) : true
Line 1: two strings with the same letters are different objects, so == is false while equals() is true. Line 2: Integer 127 is cached, so both names point at one object; 128 is outside the guaranteed range and, on our run, gave two objects. Line 3: plain int values compare by value. The Integer.valueOf documentation says it “will always cache values in the range -128 to 127, inclusive, and may cache other values outside of this range”, so the 128 result can differ on another JVM; never rely on it.
It is a classic multiple-choice trap in AP Computer Science A and a common bug in first-year university assignments. More importantly, it teaches the difference between a reference and the object it points to, which everything in object-oriented Java rests on.
Students who understand this line by line write their own equals() methods correctly later, when they meet classes of their own.
Prediction first: the student writes true or false next to each line before compiling. Most predict line 2 wrong. Then the student draws boxes and arrows for each variable, which makes the result obvious.
Finally the student explains, in English, why line 3 can never be false. Explaining is how we check the idea has really landed.
Integer.valueOf(-128) == Integer.valueOf(-128) print? Why is that one guaranteed?if (answer == "yes") so it works for any input. What happens if answer is null?Point class with x and y, then make two equal points. Does == say they are equal? Add an equals method.Java or Python?
Learn the one your exam or course requires. If nothing requires either, most beginners find Python quicker to start and Java better at teaching structure. Neither choice is wasted; the second language comes much faster.
| Your situation | Start with | Why |
|---|---|---|
| HKDSE ICT student | Python (or C++) | The languages the EDB lists for the exam |
| AP Computer Science A this year | Java | The exam is written in Java |
| IB CS, free to choose | Either; match your teacher | Class examples and feedback will be in that language |
| University course starting in Java | Java | First assignments arrive fast |
| Aiming for HKOI | C++, then Python | Java is not used in the contest |
| Adult, no exam, curious | Python, then Java if work needs it | Faster early results |
Our own advice, based on the sources in the table above. For the longer argument, see Python or Java first?
What the course covers
Our teen course runs about forty weeks in four phases. Exam students take the parts their syllabus needs; others take it all.
| Weeks | Phase | Sample projects |
|---|---|---|
| 1 to 12 | Foundations: types, decisions, loops, arrays, methods, strings, files, classes, inheritance, interfaces | A grade calculator; a Wordle-style word game; a bank account class; a shape hierarchy |
| 13 to 24 | Collections, generics, lambdas and streams, JavaFX apps, a 2D game, a first Minecraft mod | A contact manager with HashMap; a desktop note app; a brick-breaker game |
| 25 to 32 | Data structures and algorithms built by hand | An expression evaluator with stacks; a spell checker on your own hash table; a maze solver |
| 33 to 40 | APIs, AI features and a capstone | A finished application presented and explained |
Source: our Java for Teens course plan (40 to 48 weeks). One to one, an AP student can go straight from the foundations to exam practice. Full detail on the course page; more practice ideas in Java projects for students.
At the end we issue our own certificate of completion. It is not an AP score, a Cambridge or IB result, or an Oracle certification, and no exam board or company stands behind it. Adults who want an Oracle credential can read our page on Java certification preparation.
English and one to one
Because Java's errors are strict and specific, and a learner moves fastest when someone sees the exact line. And because exams, documentation and every Java error message are in English.
Hong Kong learners get one-to-one lessons only. For Java that means the mentor can follow your school's exact editor and style, use your teacher's examples, and spend a whole lesson on inheritance if that is where you are stuck.
It also suits university students, whose assignments arrive on their own timetable: a lesson can be about this week's task, explained rather than done for you.
Keywords, library names and compiler errors are all English. Mentors speak at a measured pace and type new terms in the chat, and students explain their code aloud, which is good practice for free-response answers too.
No lessons are in Cantonese or Mandarin. See coding classes taught in English for more.
| Hong Kong | India | Typical learner |
|---|---|---|
| 6:00 pm, weekday | 3:30 pm | A secondary student after school |
| 9:00 pm, weekday | 6:30 pm | A university student or working adult |
| 4:00 pm, Saturday | 1:30 pm | Anyone preferring a weekend slot |
Hong Kong (UTC+8) and India (UTC+5:30) keep fixed offsets all year with no summer time, so the gap is always two and a half hours (IANA time zone database). The times shown are our examples only.
Progress
Our own milestones for Java learners, used in placement and monthly notes. They are not exam grades.
| Milestone | You can | Proof |
|---|---|---|
| 1. Compile | Write, compile and run small programs; read compiler errors | Fix five planted errors without help |
| 2. Control | Use loops, conditions, arrays and methods | A grade calculator with methods for each step |
| 3. Model | Design classes with fields, constructors and equals() | The Point class from the lesson, done right |
| 4. Extend | Use inheritance, interfaces and polymorphism | A shape hierarchy with one shared method |
| 5. Collect | Choose between ArrayList, HashMap and sets; handle exceptions | A contact manager that survives bad input |
| 6. Reason | Analyse and write algorithms; answer exam-style questions on paper | A timed free-response answer, written by hand |
Predict the output before you run anything. Exams give you no compiler.
When == surprises you, draw the arrows.
Ask to see milestone 3: a class your child designed and can explain.
For AP students, timed practice from about three months before the exam is normal; we plan backwards from the date.
More courses
All live and in English, and for Hong Kong every one is taught one to one.
JAJA / EXAM / 01
Theory and programming papers, Java now allowed.
Open the syllabusJAJA / EXAM / 02
Concepts, case study and Paper 2 in Java or Python.
Open the syllabusJAJA / EXAM / 03
The broader AP course, often taken first.
Open the syllabusJAJA / LANG / 01
The DSE language, learned in full.
Open the syllabusJAJA / LANG / 02
For DSE ICT and the HKOI.
Open the syllabusJAJA / LANG / 03
Contest problems with our own practice sets.
Open the syllabusJAJA / NEXT / 01
Version control, the way real projects work.
Open the syllabusJAJA / NEXT / 02
Java's modern cousin, for Android and servers.
Open the syllabusJAJA / NEXT / 03
Phone apps for iOS and Android.
Open the syllabusHow classes run
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. You code in your own editor on your own computer; the mentor in India follows the shared screen, two and a half hours behind Hong Kong on the clock.
After school
A 6 pm start in Hong Kong is 3:30 pm for the mentor.
Late evening
9 pm in Hong Kong; 6:30 pm in India.
Weekend
Saturday afternoon, or any weekend hour you prefer.
IntelliJ, BlueJ or Eclipse, whichever your school uses.
Every run is preceded by a written guess.
Objects and references drawn, not imagined.
Hand-written methods for AP and A level students.
Explained and discussed, never written for you.
A focused task between lessons.
Student work
From learners on our longer courses. Browse the student labs for more.

AI and ML
An AI nutrition coach that reads what you eat and works you toward a target.

AI and ML
A chatbot that answers mathematics and programming questions, built and deployed by a student.

AI and ML
An assistant that helps a young person recognise unsafe situations online.

Web app
A weather forecasting site with live conditions for any location.
Fees
You are charged monthly, in Hong Kong dollars as shown, and only for the month that is beginning; there is no prepayment. A payment-gateway charge, where one applies, is displayed before you pay. The JDK and editors we use are free.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
What students and parents wrote on Google, word for word.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
Questions from Hong Kong learners
Yes, every one. Mentors teach live from India at a measured pace and type new terms in the chat. Java and its error messages are English. We do not teach in Cantonese or Mandarin.
Yes. In Hong Kong we offer only one-to-one lessons, with the same mentor each week.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. India is two and a half hours behind Hong Kong, so 9 pm in Hong Kong is 6:30 pm for the mentor.
No longer. The EDB's guide lists Java only for the 2024 exam or before; from the 2028 exam the programming languages are Python and C++. Java is still useful for AP, A level, IB and university.
Yes. Our AP course teaches the Java subset the exam covers and practises both sections with our own questions. You sit the exam through your school or an authorised centre. We never promise a score.
A long-term-support release, usually Java 21 or 25, or whatever your school or university uses. Exams test the language, so either is fine.
Yes. Lessons can follow your course week by week, explaining concepts and reviewing your approach. We do not write graded assignments for you.
From about 13. Younger children usually start with Scratch or Python and come to Java later.
Our own certificate of completion. It is not an Oracle certification or an exam result.
Monthly in Hong Kong dollars, with nothing paid ahead. Any payment-gateway charge is shown before you pay. The first class is free.
Related
For the exam, the language and the step after.
All our Hong Kong courses by age.
For DSE ICT and beyond.
Our AP CS A course in detail.
Our general Java page for teenagers.
The first steps, explained.
A one-to-one lesson, step by step.
Part of the guide: Every Hong Kong page
More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
In the free class we set up a JDK and editor, you write and compile a first program, and the mentor asks about your exam or course so the plan starts from what you actually need.
Reading first? See the teen Java course, the AP CS A course or the college Java course.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live online lessons, one to one and in English, from mentors based in India. WhatsApp reaches us fastest.
A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.
Book a priority demo