Java cheatsheets

Primitive Data Types

Non-object data types supported by Java.

More

String

Reference data type for storing text data, which has some properties of primitive data types.

More

Input/output

Printing data to CLI output, and prompting users of the program to input data.

More

Object-Oriented Programming (OOP)

Usage of classes, interfaces, enums, access modifiers, and other elements of OOP.

More

Loops and Iteration

Usage of loops and other ways to iterate on arrays, Strings, Collections.

Coming soon...

Streams

Create a sequence of elements from numbers, an array or a collection, and execute sequential or parallel operations on it. Often used to replace loops in Java 11 and higher.

Coming soon...

Array

The most basic data structure to store multiple piece of data of the same type.

Coming soon...

Lists

The most common Collection types, used to store elements in a fixed order.

Coming soon...

Maps

Collections to store data organized into key-value pairs.

Coming soon...