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.
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
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)
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.
-
HelloWorld.java - The classic first program
- Concepts: Basic syntax, System.out.println()
-
Message.java - User input and string handling
- Concepts: Scanner class, user input, string operations, resource management
-
SwapNumbers.java - Variable swapping technique
- Concepts: Variable manipulation, temporary variables, multiple integer inputs
-
OddEven.java - Determine if a number is odd or even
- Concepts: Modulo operator, ternary operator, conditional logic
-
IsPrime.java - Check if a number is prime
- Concepts: For loops, conditional statements, mathematical logic
-
Prime.java - Interactive prime number checker
- Concepts: User input with loops, divisor counting, interactive programming
-
Palindrome.java - Check if a number reads the same forwards and backwards
- Concepts: While loops, mathematical operations, variable manipulation
-
ReverseNumber.java - Reverse the digits of a number
- Concepts: While loops, modulo and division operations
-
Factorial.java - Calculate the factorial of a number
- Concepts: For loops, accumulator pattern, mathematical calculations
-
Factorial2.java - Enhanced factorial calculator with input validation
- Concepts: Advanced input handling, error checking, improved algorithms
- Palindrome2.java - Enhanced palindrome checker with better logic
- Concepts: Improved algorithms, code optimization, enhanced user experience
-
ReverseNumber2.java - Enhanced number reversal with additional features
- Concepts: Advanced number manipulation, improved code structure
-
Numbers.java - Print numbers from 1 to user input
- Concepts: For loops, user input, basic output
-
FibonacciSeries.java - Print Fibonacci sequence up to user input
- Concepts: While loops, mathematical series, user input
-
SumOfDigits.java - Sum the digits of a number
- Concepts: Modulo and division operations, accumulator pattern
- Advanced loop patterns and optimizations
- User input validation and error handling
- Code refactoring and improvement techniques
- Algorithm efficiency and best practices
- Array operations and manipulation
- String processing and methods
- Method creation and parameter passing
- Object-oriented programming fundamentals
- β 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
Each Java file can be compiled and run independently:
# Compile
javac ProgramName.java
# Run
java ProgramName
- Oracle Java Documentation
- Java tutorials and online courses
- Programming practice platforms
- Code review and best practices guides
- Master Java fundamentals
- Learn object-oriented programming concepts
- Build projects with real-world applications
- Contribute to open-source Java projects
- Develop problem-solving skills
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 |
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