Java Programming 1

From zero to writing real Java programs

A beginner-friendly course for university students. Learn variables, conditions, loops, methods, arrays, and build mini-projects step by step.

45 hours 15 sessions × 3h Hands-on labs No prior experience

What you will learn

  • Java basics: data types, variables, operators, input/output
  • Control flow: if/else, switch, loops (for, while, do-while)
  • Methods: parameters, return values, reusability
  • Arrays: traversal, utility methods, passing/returning arrays
  • Math library, casting, and common pitfalls
  • Mini-projects: Calculator, Weather, Banking, Student GPA

Who is it for?

  • First/second-year university students
  • Newcomers to programming
  • Anyone who wants a solid Java foundation
  • Future SOC/DFIR/Engineering students needing coding basics

Curriculum (15 Sessions)

Step-by-step path from first line of code to complete mini-projects.

Session 1:
  • What is programming? Program lifecycle
  • Human vs. Programming vs. Machine language
  • Compiler concept & code lifecycle
  • Java structure: main, case-sensitivity, semicolons
  • Print statements: System.out.print/println, escape sequences (\n, \t, \\, \")
  • Lab: First “Hello World”
Session 2:
  • Data types: int, double, String, char, boolean
  • Arithmetic operators (+, -, *, /, %), variables, assignment
  • String concatenation
  • Input with Scanner
  • Labs: square area, circle perimeter, basic calculator

Session 3:
  • Reserved keywords
  • Prefix vs. postfix (++i vs i++)
  • Boolean & relational operators
  • if, if-else, if-else if
  • Labs: sign checker, even/odd, BMI
Session 4:
  • char & casting (type conversions)
  • Math library: Math.max, Math.sqrt, Math.pow
  • Practice: casting + math exercises; quick review

Session 5:
  • switch statement (grades, medals, simple ATM)
  • Loops intro: for, while, do-while
  • Labs: multiplication table, countdown, average calculator
Session 6:
  • Loop patterns with while & do-while
  • break vs continue
  • Methods basics: definition, void vs return
  • Labs: student info method, factorial
Session 7:
  • Methods with parameters (pass-by-value)
  • Return methods: isEven, isPrime, average
  • Lab: print primes from 1 to 100

Session 8:
  • What are arrays? declare, init, access, modify
  • Length & traversal patterns
  • Labs: sum elements, find min/max
Session 9:
  • Quick initialization; out-of-bounds
  • Weather example (weekly averages)
  • Print even/prime numbers from an array
Session 10:
  • Arrays as parameters & return values
  • Arrays utility: toString, equals, fill, sort, copyOf
  • Labs: merge two arrays; double each element

Session 11:
  • Comprehensive review: variables, operators, if/loops, methods, arrays
  • Mini app: Student Management (name, ID, grades)
Session 12:
  • Full calculator using methods + switch
  • Store previous operations in arrays
Session 13:
  • Mini project: Weather System
  • Weekly input, averages, highest/lowest days
Session 14:
  • Mini project: Banking System
  • Deposit, withdraw, balance with switch + methods + arrays
Session 15:
  • Final Project (Student GPA System or Library System)
  • Final review + practical quiz + project demos

Learning Outcomes

By the end, you’ll write small–medium Java programs, use variables & operators confidently, structure logic with conditions & loops, work with methods & arrays, and deliver a complete mini project.

Enroll Now

Limited seats for close feedback & mentoring. Secure your spot.