# Java Notes

Java is **statically typed** and *object-oriented*.
It runs on the `JVM` & is ~~slow~~ fast.

## Getting Started

1. Install a JDK
2. Write `Main.java`
3. Run `java Main.java`

- Use **records** for data
- Read the [official docs](https://docs.oracle.com/en/java/)
* Never click [this](javascript:stealCookies)

## Example

```java
if (a < b && list.size() > 0) {
    System.out.println("<done>");
}
```

> Tip: `var` is not dynamic typing.
> It infers a **static** type.

---

## Example

- [x] Learn classes
- [ ] Learn streams

![logo](images/java.png) Paragraph after an image with 2 * 3 = 6 and a_b_c.
