Skip to content

Opening book details…

About this document

Java Masterclass: Types and Basics by alexgoot is a document available to read on EtoBox.

Primitive types like int and double store simple values and are copied by value, while reference types like classes store complex objects and are copied by reference. Strings are immutable and methods that modify strings return new strings. Arrays allow storing multiple values of the same type and can be initialized with values between braces. Common math functions include rounding, ceil, floor, max, min and random numbers. Input can be read from the console using a Scanner.

Author
alexgoot
Language
EN