What are the correct ways to initialize - x, y and z to 100.
Correct Answer : B
The answer is B. Since, all the other statements are syntactically correct except the statement 3. As per the rules, we cannot use the assignment operators involving the values of other variables in the initialization step.
Topic: Assignment Operator In Java