Learning better
Learn Java in 30 Minutes a Day: A Plan for People Who Work
Published on October 22, 20265 min read
You work full time, you're doing an apprenticeship, or you're switching careers next to your current job. In the evening you may have 30 minutes left, and you're tired. You can still learn Java well with that, if you use the time wisely. Here you get an eight-week plan, a fixed routine for every session and an honest look at what you're actually practising for.
What you're learning for
Before you start, be clear about your goal. It decides which topics come first and how deep you go:
- A course or an apprenticeship. College modules, apprenticeship coursework and assessments often test Java directly, sometimes on paper: loops, arrays, methods. Your syllabus or training plan tells you what comes up. Check it and match the plan below to it.
- A first job or an internship. Technical interviews and coding tests usually start with the same basics: reading a short program, writing a loop, splitting code into methods.
- A certification. If you're aiming at an Oracle Java certification, the exam goes much further than this plan. What's on it and whether it's worth it for you is in Oracle Java certification: what's on it and how to prepare.
The good news: for all three goals, the first weeks look the same. You need variables, conditions, loops, arrays, strings, methods and classes. That's exactly what this plan covers.
Why 30 minutes a day is enough
Five evenings of 30 minutes each are two and a half hours a week. That sounds like little, but it has two advantages over one long Sunday:
- You forget less. What you practised yesterday comes back in five minutes today. After a week's break you almost start from scratch.
- The barrier is low. 30 minutes fit in even after a late shift. A whole study day, on the other hand, gets postponed easily.
The only thing that matters is that you write code yourself in those 30 minutes. A video playing in the background doesn't count.
What a 30-minute session looks like
| Minutes | What you do |
|---|---|
| 0 to 5 | Solve yesterday's hardest task again without looking anything up |
| 5 to 10 | Read one section of the lesson article and run the example |
| 10 to 25 | Solve one or two new tasks |
| 25 to 30 | Write down what was hard. That's where you start tomorrow |
Don't stay stuck on one error for more than 15 minutes. Get a hint at that point, otherwise the session is over before you've learned anything.
The 8-week plan
The order follows topics that build on each other. Why exactly this order is explained in Learning Java: the right order of topics.
| Week | Topic | Goal by the end of the week |
|---|---|---|
| 1 | Input and output, variables | A program that reads two numbers and prints their sum and average |
| 2 | Conditions | Turn points into a grade with if and else if |
| 3 | Loops | Print a multiplication table |
| 4 | Arrays | Find the largest value, the sum and the number of even values |
| 5 | Strings | Count the vowels in a word, print a word backwards |
| 6 | Methods | Split the code from week 4 into methods with a return value |
| 7 | Classes and objects | A class with fields, a constructor and two methods |
| 8 | Review | Solve old tasks without help, predict outputs |
If you have a test on loops and arrays in four weeks, take weeks 1 to 4 and add the review from week 8 straight after. You can add a longer session at the weekend, but you don't have to.
For week 8, one kind of task is especially worth it, because it comes up often in tests and interviews: you read a short program and write down what it prints.
int sum = 0;for (int i = 1; i <= 4; i++) { if (i % 2 == 0) { sum += i; }}System.out.println(sum);
Walk through it in your head first, then run it. If you say 6, you've understood the loop and the condition. How to practise these tasks on purpose is in "What does the program print?".
When the plan wobbles
No plan survives every week. Here's how to keep going anyway:
- Tired or running late: Do the mini version with ten minutes and one easy task. What matters is that the chain doesn't break.
- You miss an evening: Don't try to catch up, just carry on the next day.
- You're stuck on a topic: Stay with it for an extra week. A shaky topic will come back to bite you the week after.
- Busy weeks at work or school: Use your sessions to practise exactly what you're dealing with there.
Practise without any setup, even on a work laptop
Many people who work don't fail at learning, they fail before it: the work laptop has no admin rights, and at home Eclipse won't start. What you can do then is in Java on a work computer without admin rights.
Jario runs in the browser on Windows, Mac and Linux, without a JDK and without an IDE. Your code runs on our server, so you don't need admin rights. Whether you're allowed to use a work laptop for private study is something to check with your employer, though. The Java basics course follows the topics of the plan above. Each chapter has a short article and tasks from "Easy" to "Hard" that tests check instantly. You see "x of y solved" and pick up where you left off next time. That fits 30-minute sessions well.
If you get stuck, the AI tutor gives you a hint about your code, but not a finished solution. The first two chapters, which means weeks 1 and 2, are free with an account, no payment details needed. Pro costs €9 a month, you can cancel monthly and there's no minimum term.
In short
Five evenings, 30 minutes each, writing code yourself every time. One topic per week, and at the start of each session, yesterday's hardest task once more. After eight weeks you have the basics that keep coming up in courses, tests and interviews. Start week 1 today.
Related articles to learn
- LoopsJava loops explained simply: for, while, do-while, break and continue with examples. Plus the common mistakes that cost points in exams.Read article
- ArraysJava arrays explained simply: create them, loop through them, use two-dimensional arrays. With examples and common mistakes like the wrong index.Read article
- Methods and recursionJava methods explained simply: parameters, return, overloading, varargs and recursion with examples. Plus common mistakes like a missing return.Read article
More posts
- Learning betterAI and programming assignmentsUsing AI for programming assignments without breaking academic integrity rules: where to find your course policy, where the grey zone usually is, and fair help.Read more
- Learning betterLearning Java with ChatGPTHow to learn Java with ChatGPT and still write code on your own in the exam: five simple rules, prompts you can copy, and a quick test of what you really know.Read more
- Learning betterJava error messages explainedThe 10 most common Java error messages in plain English: what “cannot find symbol” or “';' expected” really means and how to fix each one quickly.Read more