Java schedule sample
Core Java 24-Day Learning Schedule
1 Hour Per Day | Goal: Basics to OOP, Exceptions, File Handling + 3 Mini Projects
WEEK 1: Basics + Syntax | "Make the computer do things"
| Day | Topic | What You Learn | 10 Min Code Task |
|---|---|---|---|
| Day 1 | Setup + First Program | JDK, JRE, JVM, main, System.out.println | Print name, age, city |
| Day 2 | Variables + Data Types | int, double, char, boolean, String, final | Calculator: input 2 numbers, print sum |
| Day 3 | Operators | Arithmetic, Relational, Logical, Ternary, ++ -- | Swap 2 numbers without 3rd variable |
| Day 4 | Input + Output | Scanner class. nextInt, nextLine | Cashbill input: item name, qty, price |
| Day 5 | Decision Making | if-else, nested if, switch-case | Grade system: 90=A, 75=B |
| Day 6 | Loops | for, while, do-while, break, continue | Print multiplication table 1-10 |
| Day 7 | Mini Project 1 | Combine Days 1-6 | ATM Menu: Deposit, Withdraw, Check Balance |
WEEK 2: Arrays + Strings + Methods | "Organize data"
| Day | Topic | What You Learn | 10 Min Code Task |
|---|---|---|---|
| Day 8 | Arrays 1D | Declaration, init, loop, length | Find max/min in array of 5 marks |
| Day 9 | Arrays 2D | Matrix, row/col traversal | Print 3x3 matrix + sum of diagonals |
| Day 10 | Methods | method(), parameters, return, void | Method isPrime(n) |
| Day 11 | Method Overloading | Same name, different parameters | add(int,int) and add(double,double) |
| Day 12 | Strings | String vs StringBuffer, length, charAt, substring | Palindrome checker |
| Day 13 | String Methods | split, trim, toUpperCase | Count words in a sentence |
| Day 14 | Mini Project 2 | Arrays + Methods | Cash Bill Program - Array of items, formatted 50 chars |
WEEK 3: OOP + Core Concepts | "Think like an object"
| Day | Topic | What You Learn | 10 Min Code Task |
|---|---|---|---|
| Day 15 | OOP Basics | Class, Object, new, constructor, this | class Student with name, roll |
| Day 16 | Constructors + static | Default, param. static variable/method | BankAccount with static bankName |
| Day 17 | Encapsulation | private, getters/setters | Make Student fields private |
| Day 18 | Inheritance | extends, super | Person → Employee |
| Day 19 | Polymorphism | Method overriding, dynamic dispatch | shape.area() in Circle, Square |
| Day 20 | Abstract + Interface | abstract class, interface | interface Payable |
| Day 21 | Mini Project 3 | OOP | Law Firm Client System - Array of Client objects |
WEEK 4: Exceptions + Collections + File + Interview Prep
| Day | Topic | What You Learn | 10 Min Code Task |
|---|---|---|---|
| Day 22 | Exception Handling | try-catch-finally, throw, custom exception | Handle ArithmeticException |
| Day 23 | File + Collections | FileWriter, ArrayList, HashMap | Save bill to bill.txt |
| Day 24 | Final Project + Revision | Revise all. Debugging tips | Final Project: Cashbill + OOP + File + Exception |
Rules to Follow for 1 Hour
- First 10 min: Revise yesterday. Write 3 questions from yesterday.
- Next 40 min: New concept. Type every example. Don't copy-paste.
- Last 10 min: Do the "10 Min Code Task". Debug with
System.out.println
Tools Needed
- Software: JDK 17 + VS Code / IntelliJ Community / Eclipse
- Practice: After Day 14, use VS Code terminal. No IDE auto-complete.
Interview Topics Covered
JVM vs JRE vs JDK, == vs equals, Overloading vs Overriding, ArrayList vs Array, try-catch, static, final, abstract vs interface
Progress Tracker
Tick each day after completion:
Day 01 [ ]Day 02 [ ]Day 03 [ ]Day 04 [ ]Day 05 [ ]Day 06 [ ]Day 07 [ ]Day 08 [ ]Day 09 [ ]Day 10 [ ]Day 11 [ ]Day 12 [ ]
Day 13 [ ]Day 14 [ ]Day 15 [ ]Day 16 [ ]Day 17 [ ]Day 18 [ ]
Day 19 [ ]Day 20 [ ]Day 21 [ ]Day 22 [ ]Day 23 [ ]Day 24 [ ]
Comments
Post a Comment