void
keyword indicates that no value should be returned by the method after it executes all the logic in the method. If we do want the method to return a value after it finishes running, we can specify the return type.void
keyword (which means "completely empty") indicates to the method that no value is returned after calling that method.int
, char
, etc.) to specify that a method should return a value of that type.The full java.lang.Math API.
Inline array initialization.
Typical array-processing code.
Inline initialization.
The full StdOut API.
The full StdIn API.
The full StdDraw API.
The full StdAudio API.
The full java.lang.String API.
The full java.awt.Color API.
The full In API.
The full Out API.
The full Picture API.
The full Stack API.
The full Queue API.
The full ST API.
The full SET API.