All notes, in reading order

963 published notes across every category.

Java

Varargs in Java

A variable arity parameter lets a method accept any number of arguments, and inside the method it is simply an array.

Read more
Java

Pass by Value in Java

Java always passes arguments by value. For objects the value copied is the reference, which explains every result that looks like pass by reference.

Read more
Java

Arrays in Java

An array is a fixed size object holding elements of one type, indexed from zero, with the length fixed at creation.

Read more
Java

Strings in Java

String is an immutable object with a shared literal pool, and both facts explain how comparison, concatenation and performance behave.

Read more