1.

Which of these have highest precedence?(a) ()(b) ++(c) *(d) >>I had been asked this question during an internship interview.The origin of the question is Assignment Operators and Operator Precedence in chapter Operators and Control Statements of Java

Answer»

Right choice is (a) ()

The BEST I can EXPLAIN: ORDER of PRECEDENCE is (highest to lowest) a -> B -> c -> d.



Discussion

No Comment Found

Related InterviewSolutions