A comprehensive Java learning repository for backend development fundamentals.
This repository contains Java programming examples and learning materials designed to help understand core Java concepts and backend development principles. It includes practical code examples, documentation, and educational resources.
JAVA-DEV/
├── First Code/ # Basic "Hello World" Java program
│ └── firstCode/
│ └── src/
│ └── Main.java
├── varNdataType/ # Variables and data types demonstration
│ ├── src/
│ │ └── VariableDatatype.java
│ └── README.md
├── #NOTES/ # Learning materials and documentation
│ ├── Data_Types.pdf
│ ├── First_Code_in_Java.pdf
│ ├── How_Java_works.pdf
│ └── Variables.pdf
└── README.md # This file
Location: First Code/firstCode/src/Main.java
A simple "Hello World" program that demonstrates:
- Basic Java syntax
- Main method structure
- Console output using
System.out.println()
To run:
cd "First Code/firstCode/src"
javac Main.java
java Main
Expected output:
Hello world!
Location: varNdataType/src/VariableDatatype.java
A comprehensive example demonstrating:
- Different Java data types (int, double, float, char, boolean)
- Variable declaration and initialization
- Printing variable values
To run:
cd varNdataType/src
javac VariableDatatype.java
java VariableDatatype
Expected output:
Integer: 42
Double: 3.14
Float: 3.5
Character: A
Boolean: true
The #NOTES/
directory contains PDF documentation covering:
- Data_Types.pdf - Comprehensive guide to Java data types
- First_Code_in_Java.pdf - Introduction to writing your first Java program
- How_Java_works.pdf - Understanding Java compilation and execution
- Variables.pdf - Variables declaration, initialization, and usage
- Java Development Kit (JDK) 8 or higher
- Command line interface (Terminal/Command Prompt)
- Text editor or IDE (IntelliJ IDEA recommended, as projects include
.iml
files)
-
Clone the repository:
git clone https://github.com/dexter-code03/JAVA-DEV.git cd JAVA-DEV
-
Verify Java installation:
java -version javac -version
-
Run the examples:
- Navigate to any project directory
- Compile the Java file:
javac ClassName.java
- Run the compiled program:
java ClassName
After working through this repository, you should understand:
- Basic Java syntax and structure
- How to write, compile, and execute Java programs
- Java primitive data types and their usage
- Variable declaration and initialization
- Console input/output operations
- Java development workflow
This is a learning repository. Feel free to:
- Add more examples
- Improve documentation
- Fix any issues you find
- Add more learning materials
- Projects are configured for IntelliJ IDEA (
.iml
files present) - All code examples are tested and working
- PDF materials provide theoretical background for practical examples
This repository is for educational purposes. Feel free to use and modify the code for learning.
Happy Learning! 🚀