More Basics

San Skulrattanakulchai

March 4, 2020

Topics

Type inference

Arrays

Arrays of primitive types

Constructing primitive arrays

Constructing primitive arrays, continued

Reading and modifying array elements

Arrays is a mutable, reference type

Iterating an array

Characters and strings

Strings, continued

Escape sequences

Raw strings

Raw strings, continued

String templates (or string interpolations)

Fine points

String functions

Scanner

Scanner, continued

Useful Scanner functions

Formatted output

Formatted output, continued

Formatted output, continued

Formatted output, continued