public class increment _Example { public static void main(String args[]) { int a = 5; System.out.print(++a * 10); } }
Operator ++ has more preference than *, thus a becomes 6 and when multiplied by 10 gives 60.output: 60
Previous Question Next Question
Your comments will be displayed only after manual approval.