Jul 13, 2024
void
(no return), other types (number, datetime, etc.)sendEmail
)main
functionmain
function is the entry pointpublic class ClassName {}
public
, private
, etc.\
, \n
, \t
, \"
int[] numbers = new int[5];
or {1, 2, 3}
Arrays.toString()
, Arrays.deepToString()
final
+
, -
, *
, /
, %
i++
, i--
+=
, -=
, *=
, /=
Integer.parseInt()
, Double.parseDouble()
, etc.round
, ceil
, floor
, max
, min
, random
scanner.nextInt()
, scanner.nextLine()
trim()
==
, !=
, >
, <
, >=
, <=
&&
, ||
, !
if...else if...else
? :
[initialization]; [condition]; [increment/decrement]
break
exits loop, continue
skips to loop start