Find the out put of the following Java code line:

Find the out put of the following Java code line: Correct Answer -8

Floor is a function in java which returns the lower limit. Here - 8 is lower limit to - 7.4 and the higher limit would be - 7. If you represent these numbers on the number line you would have - 7 approaching towards zero and - 8 away from 7.4 and far from zero so the lower limit would be - 8. Hence the answer is - 8.
Bissoy MCQ

Related Questions

Put out the lamp. Here 'put out' is a-
I can't put up with_ him any more. Here "put up with" means:
When comparing java.io.BufferedWriter and java.io.FileWriter, which capability exist as a method in only one of two ?