5. Separators
- Separators help to make the structure of a program
- There are 9 separators in Java
- By using separators we can group and arrange the piece of code
( ) Parenthesis - To enclose argument
{ } Braces - To enclose block of the codes
[ ] Brackets - To define the arrays
; Semicolon - To separate java statements
, Comma - To separate variables while declaring
. dot - To separate names from sub-packages and classes
Thanks for your time.
- Nireekshan