Java has 6 types of separators, these are:
[] Brackets: Used to declare these arrangements and values.
{} Braces: Used to define a block of code and create an array with initial values.
() Parentheses: Used to call methods, define the origin of some expression, establish conditions under control structures, among other functions.
; The semicolon: Used to chain statements inside a for loop and separate simple sentences.
, Comma: is used to separate variables in the declaration of the same type
. The point: It is used to remove a variable or method of a reference variable
Separators in Java