An open API service indexing awesome lists of open source software.

https://github.com/arikmukherjee/java_stepbystep

This subject is based on Java. Contains Java practice codes.
https://github.com/arikmukherjee/java_stepbystep

java java-8 oop

Last synced: 23 days ago
JSON representation

This subject is based on Java. Contains Java practice codes.

Awesome Lists containing this project

README

          

# Object Oriented Programming Using Java

This repository contains Java practice programs for Object-Oriented Programming (OOP) coursework at WBSU.

## About Java

Java is a popular, object-oriented programming language designed for portability across platforms ("write once, run anywhere").

Key features:
- Platform independence via the Java Virtual Machine (JVM)
- Strong typing and memory safety
- Rich standard library (collections, streams, concurrency, I/O, GUI, networking)
- Robust object-oriented design (classes, interfaces, inheritance, polymorphism, encapsulation)
- Automatic garbage collection

## Repository structure

Files in this repo are numbered practice problems:
- `Intermediate` through `Advance Java` (example exercises and hands-on assignments)

## Getting started

1. Install JDK (Java Development Kit) 17 or newer.
2. Open a terminal in this folder (`Java_StepByStep`).
3. Compile a program:
- `javac Main.java`
4. Run the program:
- `java Main`

## Example Java program (main method)

```java
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
```

## Tips

- Use `javac` to compile and `java` to run.
- Use IDEs (IntelliJ IDEA, Eclipse, VS Code) for easier editing, compiling, and debugging.
- Keep each class in its own file (named `ClassName.java`) for larger projects.