What will be the output of the following Java code?
Check your spam folder if password reset mail not showing in inbox????
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
class increment { public static void main(String args[]) { int g = 3; System.out.print(++g * 8); } } a) 25 b) 24 c) 32 d) 33 View Answer Answer: c Explanation: Operator ++ has more preference than *, thus g becomes 4 and when multiplied by 8 gives 32. output: $ javac increment.java $ java incrRead more
{
}
}
a) 25
See lessb) 24
c) 32
d) 33
View Answer
Answer: c
Explanation: Operator ++ has more preference than *, thus g becomes 4 and when multiplied by 8 gives 32.
output:
32