This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I found this question from Whizlabs software. I thought that the output would be 2.6 since it is assigned to a double variable. But the output is 2.0. Below is the code: int a = 8; int b = 3; double f = a++/b--; System.out.println(f); The answer is 2.0 but I was expecting 2.6. Thanks Latha