Jul 17, 2024
// comment
/* comments */
;
).byte
(1 byte), short
(2 bytes), int
(4 bytes), long
(8 bytes)float
(4 bytes), double
(8 bytes)char
(2 bytes)boolean
(1 bit)+ - * / %
.++/--
.<, >, <=, >=, ==, !=
.=
.&& (AND)
, || (OR)
, ! (NOT)
.import
keyword for importing classes from packages.Integer
, Double
, etc.parseInt
, toString
.try
contains code that might throw an exception, catch
handles the exception.Thread
class or implementing Runnable
interface.charAt
, concat
, contains
, endsWith
, length
, replace
, etc.sort
, binarySearch
(requires sorted array).