Resultant type of the following expression bh – i + db / fl – i * fl + db / i, (int) ( fl + db )

Q30. What will be the resultant type of the following expression is if bh represents a byte variable, i is

Read more

Java expressions: ut+1/2ft2, |a|+b>=|b|+a,  e|2x^2-4x|

Q27. Write equivalent Java expressions for the following expressions: ut+1/2ft2 |a|+b>=|b|+a  e|2x^2-4x| Ans 1. ut+1/2ft2 u*t+1/2*f*t*t Ans 2. |a|+b>=|b|+a 

Read more

res starts with the value 25, what will be the outputof System.out.println(res–); System.out.println(++res);

Q23. Assuming that res starts with the value 25, what will the following code fragment print out? System.out.println(res–); System.out.println(++res); Ans.

Read more