https://github.com/praveenamirisetty/core_java_codes
Learning Core Java
https://github.com/praveenamirisetty/core_java_codes
java java-basics
Last synced: 5 months ago
JSON representation
Learning Core Java
- Host: GitHub
- URL: https://github.com/praveenamirisetty/core_java_codes
- Owner: praveenamirisetty
- Created: 2024-09-21T16:21:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T13:58:49.000Z (over 1 year ago)
- Last Synced: 2025-07-26T05:51:08.602Z (5 months ago)
- Topics: java, java-basics
- Language: Java
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CORE_JAVA_CODES



This repository contains **basic Java programs** covering the **fundamental concepts of Core Java**.
It is designed for **beginners** to learn:
- Programming syntax
- Conditional statements
- Loops
- Operators
- Type conversion
---
## 📂 Project
```
CORE_JAVA_CODES/
│
├── AssignmentOperators.java # Demonstrates assignment operators
├── DoWhileLoop.java # Example of do-while loop
├── FirstJavaProgram.java # Basic Hello World program
├── ForLoop.java # Example of for loop
├── IfElse.java # Demonstrates if-else statement
├── IfElseIf.java # Demonstrates if-else if ladder
├── Literals.java # Examples of Java literals
├── LogicalOperators.java # Logical operators (&&, ||, !)
├── RelationalOperators.java # Relational operators (>, <, ==, !=)
├── Switch_Case.java # Example of switch-case statement
├── TernaryOperator.java # Example of ternary operator (? :)
├── TypeConversion.java # Type casting and conversion
├── WhileLoop.java # Example of while loop
└── README.md # Project documentation
```
---
## 🗂 Program Categories
### **Day 1 – Basics**
- `FirstJavaProgram.java`
- `AssignmentOperators.java`
- `Literals.java`
- `LogicalOperators.java`
- `RelationalOperators.java`
- `Switch_Case.java`
- `TernaryOperator.java`
- `TypeConversion.java`
### **Day 2 – Conditional Statements & Loops**
- `IfElse.java`
- `IfElseIf.java`
- `ForLoop.java`
- `WhileLoop.java`
- `DoWhileLoop.java`
---
## 📌 Topics Covered
- ✅ **Java Basics** – Syntax, variables, and data types
- ✅ **Operators** – Arithmetic, Relational, Logical, Ternary
- ✅ **Conditional Statements** – `if`, `if-else`, `if-else-if`, `switch-case`
- ✅ **Loops** – `for`, `while`, `do-while`
- ✅ **Type Conversion** – Casting between data types
- ✅ **Literals** – Integer, floating-point, character, boolean, string
---
## 🚀 How to Run
1. **Clone the repository**
```bash
git clone https://github.com//CORE_JAVA_CODES.git
2. **Navigate to the project folder**
```bash
cd CORE_JAVA_CODES
3. **Compile any Java file**
```bash
javac FileName.java
```
4. **Compile any Java file**
```bash
javac FileName.java
```
5. **Run the compiled program**
```bash
javac FileName.java
```
## 📝 Notes
- All programs are **beginner-friendly** and **standalone**.
- Compatible with **JDK 8 or higher**.
- Each file demonstrates a **single concept for clarity**.
---
## 👨💻 Author
**Praveen Kumar**
Passionate about **Java, Backend Development, and Cloud Computing**.
---
## ⭐ Contribute
If you find this helpful, **star the repo** ⭐ and feel free to **contribute** by adding more Java programs!