Discussion :: JAVA MCQs
- Which of these statements are incorrect?
A.
Equal to operator has least precedence.
|
B.
Brackets () have highest precedence.
|
C.
Division operator, /, has higher precedence than multiplication operator.
|
D.
Addition operator, +, and subtraction operator have equal precedence.
|
Answer : Option C
Explanation :
Division operator, /, has equal precedence as of multiplication operator. In expression involving multiplication and division evaluation of expression will begin from right side when no brackets are used.
Be The First To Comment