different between operator and seprator
in computer
Answers
Answer:
A separator is one or two tokens that separate some language features from other language features.
An operator is a language feature, represented by a token, that transforms one or more values (of a certain type) into a new value. Each value being operated on is known as an operand. A classic example of an operator is the additive operator that performs addition (+). That operator adds its two numeric operands together and yields a new numeric value—the sum.
Explanation:
hope it helps you plz drop me some thanks
Operators
An operator is a language feature, represented by a token, that transforms one or more values (of a certain type) into a new value. Each value being operated on is known as an operand. A classic example of an operator is the additive operator that performs addition (+). That operator adds its two numeric operands together and yields a new numeric value—the sum.
The Java Language Specification (JLS) identifies all operators supported by Java. It states that "37 tokens are the operators." Table 3.2 lists those operator tokens.
Table 3.2: Operator Tokens
=
>
<
!
~
?
:
==
<=
>=
!=
&&
||
++
--
+
-
*
/
&
|
^
%
<<
>>
>>>
+=
-=
*=
/=
&=
|=
^=
%=
<<=
>>=
>>>=
Separators
A separator is one or two tokens that separate some language features from other language features. Separators include the following:
Parentheses ( and ) for specifying a precedence change in an expression (by separating that part of an expression which is to be given higher precedence from the rest of the expression) or a cast operator (by separating a typeIdentifier from the rest of an expression)
Braces { and } for grouping zero or more statements into a block of statements and separating those statements from statements appearing outside the block
Square brackets [ and ] for declaring an array or accessing an array element's value (by separating an array index from the rest of an array access expression)
Semicolon (;) for separating one statement from another
Comma (,) for separating variable names and optional initializations in a variable declaration
Period (.) for separating fields and methods in a field or method access expression
hope it helps you
mark me as brainliest