Sep 24, 2024
.java
, compiled to bytecode (.class) which is platform-independent.public static void main(String[] args)
.System.out.print
and System.out.println
for output.
\n
(newline), \t
(tab).//
/*
and */
long
for large numbers.float
or double
for decimal numbers.java.util.Scanner
.max
, min
, abs
, sqrt
, ceil
, floor
).Math.sqrt()
.import java.util.Random
and create random instances.