Skip to content

πŸš€ My Java learning journey from basics to advanced concepts. 10+ well-documented programs covering fundamentals, loops, user input, and algorithms. Each program includes detailed comments and demonstrates clean coding practices.

Notifications You must be signed in to change notification settings

Blaze2216/java-learning-journey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ My Java Learning Journey

Welcome to my Java programming repository! This is where I document my progress as I learn Java from the ground up. Each program represents a step forward in my understanding of Java concepts and programming fundamentals.

πŸ“š About This Repository

This repository contains my Java learning projects, organized by concepts and difficulty. I'm committed to:

  • Writing clean, well-commented code
  • Following Java best practices
  • Documenting my learning process
  • Committing regularly to track my progress

πŸ“ Repository Structure

JAVA/
β”œβ”€β”€ 01-basics/                  # Java fundamentals
β”‚   β”œβ”€β”€ HelloWorld.java        # Classic first program
β”‚   β”œβ”€β”€ Message.java           # User input and string handling
β”‚   β”œβ”€β”€ SwapNumbers.java       # Variable swapping technique
β”‚   └── Numbers.java           # Print numbers from 1 to user input
β”œβ”€β”€ 02-control-structures/      # If-else, switch, ternary operators
β”‚   └── OddEven.java           # Check if number is odd or even
β”œβ”€β”€ 03-loops/                   # For, while, do-while loops
β”‚   β”œβ”€β”€ IsPrime.java           # Check if number is prime
β”‚   β”œβ”€β”€ Prime.java             # Prime checker with user input
β”‚   β”œβ”€β”€ Palindrome.java        # Check if number is palindrome
β”‚   β”œβ”€β”€ Palindrome2.java       # Enhanced palindrome checker
β”‚   β”œβ”€β”€ ReverseNumber.java     # Reverse digits of a number
β”‚   β”œβ”€β”€ ReverseNumber2.java    # Enhanced number reversal
β”‚   β”œβ”€β”€ Factorial.java         # Calculate factorial of a number
β”‚   β”œβ”€β”€ Factorial2.java        # Enhanced factorial calculator
β”‚   β”œβ”€β”€ FibonacciSeries.java   # Print Fibonacci sequence
β”‚   └── SumOfDigits.java       # Sum the digits of a number
β”œβ”€β”€ 04-arrays/                  # Array operations (coming soon)
β”œβ”€β”€ 05-strings/                 # String manipulation (coming soon)
β”œβ”€β”€ 06-methods/                 # Functions and methods (coming soon)
β”œβ”€β”€ 07-object-oriented/         # Classes, objects, inheritance (coming soon)
└── 08-advanced/                # Advanced concepts (coming soon)

🎯 Current Progress

All programs are now organized by topic. New files are added to their respective folders, and all code is well-commented for clarity and learning.

βœ… Completed Programs

  1. HelloWorld.java - The classic first program

    • Concepts: Basic syntax, System.out.println()
  2. Message.java - User input and string handling

    • Concepts: Scanner class, user input, string operations, resource management
  3. SwapNumbers.java - Variable swapping technique

    • Concepts: Variable manipulation, temporary variables, multiple integer inputs
  4. OddEven.java - Determine if a number is odd or even

    • Concepts: Modulo operator, ternary operator, conditional logic
  5. IsPrime.java - Check if a number is prime

    • Concepts: For loops, conditional statements, mathematical logic
  6. Prime.java - Interactive prime number checker

    • Concepts: User input with loops, divisor counting, interactive programming
  7. Palindrome.java - Check if a number reads the same forwards and backwards

    • Concepts: While loops, mathematical operations, variable manipulation
  8. ReverseNumber.java - Reverse the digits of a number

    • Concepts: While loops, modulo and division operations
  9. Factorial.java - Calculate the factorial of a number

    • Concepts: For loops, accumulator pattern, mathematical calculations
  10. Factorial2.java - Enhanced factorial calculator with input validation

  • Concepts: Advanced input handling, error checking, improved algorithms
  1. Palindrome2.java - Enhanced palindrome checker with better logic
  • Concepts: Improved algorithms, code optimization, enhanced user experience
  1. ReverseNumber2.java - Enhanced number reversal with additional features

    • Concepts: Advanced number manipulation, improved code structure
  2. Numbers.java - Print numbers from 1 to user input

    • Concepts: For loops, user input, basic output
  3. FibonacciSeries.java - Print Fibonacci sequence up to user input

    • Concepts: While loops, mathematical series, user input
  4. SumOfDigits.java - Sum the digits of a number

    • Concepts: Modulo and division operations, accumulator pattern

πŸ”„ Currently Learning

  • Advanced loop patterns and optimizations
  • User input validation and error handling
  • Code refactoring and improvement techniques
  • Algorithm efficiency and best practices

πŸ“‹ Next Up

  • Array operations and manipulation
  • String processing and methods
  • Method creation and parameter passing
  • Object-oriented programming fundamentals

πŸ† Key Achievements

  • βœ… 15 Programs Completed - From basic output to advanced algorithms
  • βœ… User Input Mastery - Successfully implemented Scanner for interactive programs
  • βœ… Variable Manipulation - Mastered swapping techniques and temporary variables
  • βœ… Loop Expertise - Mastered for, while, and do-while loops
  • βœ… Mathematical Logic - Implemented prime checking, palindromes, and factorials
  • βœ… Interactive Programming - Created user-friendly programs with input validation
  • βœ… Code Evolution - Created enhanced versions showing learning progression
  • βœ… Best Practices - Consistent commenting, documentation, and resource management

πŸ› οΈ How to Run

Each Java file can be compiled and run independently:

# Compile
javac ProgramName.java

# Run
java ProgramName

πŸ“– Learning Resources

  • Oracle Java Documentation
  • Java tutorials and online courses
  • Programming practice platforms
  • Code review and best practices guides

🎯 Goals

  • Master Java fundamentals
  • Learn object-oriented programming concepts
  • Build projects with real-world applications
  • Contribute to open-source Java projects
  • Develop problem-solving skills

πŸ“ˆ Progress Tracking

Date Program Concepts Learned Status
Day 1 HelloWorld Basic syntax, output βœ… Complete
Day 2 Message Scanner, user input, resource management βœ… Complete
Day 3 SwapNumbers Variable manipulation, swapping technique βœ… Complete
Day 4 OddEven Ternary operator, modulo βœ… Complete
Day 5 IsPrime For loops, prime logic βœ… Complete
Day 6 Prime Interactive prime checking, user input loops βœ… Complete
Day 7 Palindrome While loops, number reversal βœ… Complete
Day 8 ReverseNumber Mathematical operations βœ… Complete
Day 9 Factorial For loops, accumulator pattern βœ… Complete
Day 10 Factorial2 Enhanced algorithms, input validation βœ… Complete
Day 11 Palindrome2 Code optimization, improved logic βœ… Complete
Day 12 ReverseNumber2 Advanced number manipulation βœ… Complete
Day 13 Numbers For loops, user input, basic output βœ… Complete
Day 14 FibonacciSeries While loops, mathematical series, user input βœ… Complete
Day 15 SumOfDigits Modulo and division operations, accumulator pattern βœ… Complete

🀝 Connect With Me

Feel free to:

  • Review my code and suggest improvements
  • Share learning resources
  • Collaborate on projects
  • Ask questions about my learning journey

"The journey of a thousand miles begins with one step." - Lao Tzu

Last updated: July 2, 2025

About

πŸš€ My Java learning journey from basics to advanced concepts. 10+ well-documented programs covering fundamentals, loops, user input, and algorithms. Each program includes detailed comments and demonstrates clean coding practices.

Topics

Resources

Stars

Watchers

Forks

Languages