viernes, 22 de noviembre de 2013

Separators in Java


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

0 comentarios:

Publicar un comentario

deja un comentario