Welcome to my Java Learning Repository!
This repository contains all the Java programs I wrote while learning Java from the basics. It includes practice programs, school assignments, experiments, and solutions to various programming problems. The purpose of this repository is to track my progress and improve my programming skills over time.
- Variables and Data Types
- Input and Output
- Operators
- Conditional Statements (
if,switch) - Loops (
for,while,do-while) - Methods and Method Overloading
- Classes and Objects
- Constructors
- Arrays
- Strings
- Recursion
- Number Programs
- Pattern Printing
- Mathematical Programs
- File Handling (Basics)
- Object-Oriented Programming Concepts
Each Java file focuses on a specific concept or problem. Most programs are independent and can be compiled and executed separately.
Example:
Java-Learning/
│
├── Armstrong.java
├── Pattern.java
├── Factorial.java
├── Recursion.java
├── Prime.java
├── Sentence.java
└── ...
- Practice Java programming
- Strengthen problem-solving skills
- Learn Object-Oriented Programming
- Keep track of my learning progress
- Build a collection of Java programs for future reference
- Clone the repository
git clone https://github.com/your-username/your-repository.git-
Open the project in your favorite IDE (VS Code, IntelliJ IDEA, Eclipse, etc.)
-
Compile a program
javac FileName.java- Run it
java FileName- Java JDK 8 or later
- Any Java IDE or a terminal
I will continue updating this repository as I learn new Java concepts and solve more programming problems.
This repository is managed with my friend Devashish and mainly for learning purposes. Suggestions, improvements, and feedback are always welcome!
This project is available under the MIT License.
⭐ If you find this repository useful or interesting, feel free to star it!