Java programming Learn Java from scratch

Hi. If you’re reading this, I can confirm that, yes, these are Java lessons. This course is actually chock full of opportunities for hands-on learning (with over 1200 exercises) and is meant for adult students. I hate boring lectures. That’s why CodeGym was created as an online game.

Have you ever played games where you get to level-up your character? Sometimes you get drawn into it before you even notice, right? Can you guess where I'm headed with this? At CodeGym, you have to level-up your character from Level 1 to Level 40 (even up to Level 80 once we release the sequel). Make it through the whole course and you’ll be a rockstar Java programmer.

Make it to Level 40, and you’ll be able to get a job as a junior Java developer. Some people have even been able to find a job at Level 20, since CodeGym contains so many exercises. No, really—it’s got a lot.

The game is set in the distant future – year 3018, at a time when humans share the Earth with robots and space travel is routine.

Once upon a time, a spaceship crashed on an unknown planet...

Back story

Java programming Learning from scratch

The Galactic Rush crew crash-landed on an unknown planet. During the crash, the spaceship slammed into a mountainside and was almost completely buried under debris. After trying for days to free the ship, the crew lost all hope of returning home and started settling into this new, unfamiliar place...

A week later, Ellie, the ship’s navigator, happened to discover that the planet was inhabited by thousands of wild robots! They could have helped clear the rocks and free the ship, but they were too primitive and stupid. They lacked the ability to do anything at all. They couldn’t even carry rocks, an ability which would have come in handy.

Professor Noodles, the mission’s chief scientist, would later recall:
"After a few days, I came up with a solution. I would take the firmware from Diego, a robot member of our crew, convert it into firmware for a bricklayer, and then load it onto the wild robots."

"But luck seemed to be against us. After looking into it, we found that the natives didn’t have any connectors for uploading the firmware. In fact, they didn’t have any connectors at all!"

Java programming

"Bilaabo, the only extraterrestrial on the crew, recalled that he had once met a robot on his home planet who knew how to program. Not only that, but this robot could even fix bugs in his own firmware."

"That’s when a brilliant idea occurred to me. After all, I had once managed to teach a capable robot to program in Pascal."

"I gave orders to trap the most talented young robot and teach him how to Java program. With his new coding skills, he would be able to rewrite his own firmware to help us out!"

Learn Java from scratch

"In the end, we found a promising candidate. Diego suggested naming him Amigo, after the brother he’d always wanted, but never had."

"I offered to give Amigo metal beads for every month of his learning Java and then $10 per year to clear the debris after his training. For the savages, this was generous. After all, we were enlightening them for free."

Learn Java

Diego later wrote in his memoirs:

"I was outraged by this blatant robbery of my fellow robot, but the whole crew sided with the professor and Rishi. So, of course, I agreed, or at least pretended to agree, and offered to help teach Amigo. Ha-ha! After all, nobody can teach a robot better than another robot."

"Everybody was so happy that I was willing to help that they decided to join me in training Amigo Java programming."


You’ll start at level 1. Your goal is to help Amigo reach Level 40. But let’s start small. Let’s first try reaching Level 2 of the Java lessons. Maybe you’ll like it so much that you’ll finish the Java course and get a job before you even notice.)

P.S. Now, let’s get to learning from scratch. Click Next lesson.