Skip to content

dexter-code03/JAVA-DEV

Repository files navigation

JAVA-DEV

A comprehensive Java learning repository for backend development fundamentals.

📖 Overview

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.

📁 Repository Structure

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

🚀 Projects

1. First Code

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!

2. Variables and Data Types

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

📚 Learning Materials

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

🛠️ Prerequisites

  • 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)

💡 Getting Started

  1. Clone the repository:

    git clone https://github.com/dexter-code03/JAVA-DEV.git
    cd JAVA-DEV
  2. Verify Java installation:

    java -version
    javac -version
  3. Run the examples:

    • Navigate to any project directory
    • Compile the Java file: javac ClassName.java
    • Run the compiled program: java ClassName

🎯 Learning Objectives

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

🤝 Contributing

This is a learning repository. Feel free to:

  • Add more examples
  • Improve documentation
  • Fix any issues you find
  • Add more learning materials

📝 Notes

  • Projects are configured for IntelliJ IDEA (.iml files present)
  • All code examples are tested and working
  • PDF materials provide theoretical background for practical examples

📄 License

This repository is for educational purposes. Feel free to use and modify the code for learning.


Happy Learning! 🚀

About

LEARNING JAVA BACKEND

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages