Mar 17, 2025
main
function as the entry point.MainClass
).sendEmail
).System.out.println
to print messages to the terminal.Primitive Types:
byte
, short
, int
, long
: for whole numbers.float
, double
: for decimal numbers.char
: for single characters.boolean
: for true/false values.Reference Types: Hold references to complex objects, like instances of classes.
NumberFormat
class for currency.