Latest

Oct
21
Infinite Streams in Java

Infinite Streams in Java

Infinite streams are similar to infinite loops but use a stream instead.
2 min read
Oct
18
Spliterator in Java

Spliterator in Java

Spliterators are used in Java streams and a way to process elements in parallel.
3 min read
Oct
17
ListIterator in Java

ListIterator in Java

ListIterator is a bidirectional iterator used in collections that implement the List interface.
2 min read
Oct
16
Iterators in Java

Iterators in Java

Iterators are a way to traverse over the elements in a collection.
3 min read
Oct
15
Arrays in Java

Arrays in Java

Arrays are a container object that contain a fixed number of elements of the same type.
4 min read
Oct
14
Algebraic Data Types (ADTs) in Java

Algebraic Data Types (ADTs) in Java

Algebraic Data Types can be built using sealed classes.
2 min read
Oct
11
When to Choose Composition Over Inheritance

When to Choose Composition Over Inheritance

Choose composition for code reuse that doesn't require a class hierarchy.
3 min read
Oct
10
When to Choose Inheritance Over Composition

When to Choose Inheritance Over Composition

Inheritance is best used for code reuse when modeling data.
3 min read
Oct
09
Java Class Layout Standard

Java Class Layout Standard

Standard layout each class should follow.
2 min read
Oct
08
Structure of a Java Source File

Structure of a Java Source File

The structure every Java source file must follow.
1 min read