Skip to content

grayshader3020/Java_Programs

Repository files navigation

Java Programs Repository

Welcome to the Java Programs Repository! This collection is designed to help learners and developers explore various aspects of Java programming, from fundamental concepts to more advanced topics.

Table of Contents

Introduction

This repository serves as a comprehensive resource for Java enthusiasts. Each directory focuses on a specific topic, providing clear and concise examples to facilitate understanding and practical application.

Directory Structure

The repository is organized into the following directories:

  • 01_Basics: Introduction to Java basics, including "Hello World" programs and fundamental syntax.
  • 02_Variables_And_DataTypes: Examples demonstrating variable declarations, data types, and type initialization.
  • 03_Operators: Programs illustrating the use of arithmetic, relational, logical, and bitwise operators.
  • 04_Conditional_Statements: Implementations of control flow using if-else, switch-case, and ternary operators.
  • 05_Without_Loops: Programs solving problems without the use of loops, focusing on recursion and other techniques.
  • 06_Calculators: Simple calculator applications performing basic arithmetic operations.
  • 07_Type_Casting: Examples of type conversion and casting between different data types.
  • 08_Conversions: Programs converting between units, number systems, and data formats.
  • 09_Math_Programs: Mathematical computations and algorithms, including factorial, Fibonacci series, and prime number checks.
  • 10_Loops: Demonstrations of for, while, and do-while loops in various scenarios.
  • 11_Miscellaneous: A collection of diverse programs covering topics not included in the above categories.
  • Number Series: Programs generating and analyzing different numerical series and sequences.
  • Pattern: Pattern printing programs showcasing various star, number, and character patterns.
📦 Java_Programs/
├── 📜 README.md
├── 📁 01_Basics/
│   ├── 📄 HelloWorld.java
│   ├── 📄 BasicSyntax.java
│   └── ...
├── 📁 02_Variables_And_DataTypes/
│   ├── 📄 VariablesDemo.java
│   ├── 📄 DataTypesExample.java
│   └── ...
├── 📁 03_Operators/
│   ├── 📄 ArithmeticOperators.java
│   ├── 📄 LogicalOperators.java
│   └── ...
├── 📁 04_Conditional_Statements/
│   ├── 📄 IfElseExample.java
│   ├── 📄 SwitchCaseDemo.java
│   └── ...
├── 📁 05_Without_Loops/
│   ├── 📄 RecursionExample.java
│   └── ...
├── 📁 06_Calculators/
│   ├── 📄 SimpleCalculator.java
│   ├── 📄 ScientificCalculator.java
│   └── ...
├── 📁 07_Type_Casting/
│   ├── 📄 ImplicitCasting.java
│   ├── 📄 ExplicitCasting.java
│   └── ...
├── 📁 08_Conversions/
│   ├── 📄 StringToInt.java
│   ├── 📄 IntToString.java
│   └── ...
├── 📁 09_Math_Programs/
│   ├── 📄 FibonacciSeries.java
│   ├── 📄 PrimeNumberCheck.java
│   └── ...
├── 📁 10_Loops/
│   ├── 📄 ForLoopExamples.java
│   ├── 📄 WhileLoopExamples.java
│   └── ...
├── 📁 11_Miscellaneous/
│   ├── 📄 PalindromeCheck.java
│   ├── 📄 ArmstrongNumber.java
│   └── ...
├── 📁 Number_Series/
│   ├── 📄 EvenNumbers.java
│   ├── 📄 OddNumbers.java
│   └── ...
└── 📁 Pattern/
    ├── 📄 StarPattern.java
    ├── 📄 NumberPattern.java
    └── ...

Getting Started

To run these programs on your local machine:

  1. Clone the Repository:
    git clone https://github.com/grayshader3020/Java_Programs.git
    
  2. Navigate to the Desired Directory:
    cd Java_Programs/01_Basics
  3. Compile the Java Program:
     javac HelloWorld.java
  4. Run the Compiled Program:
    java HelloWorld
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages