How is rounding performed under integer division?
Answers were Sorted based on User's Feedback
Answer / divya
the fractional part of the result is truncated .this is
known as rounding toward zero.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / satya
We can use java.lang.Math.ceil() and java.lang.Math.floor()
methodes in order for rounding numbers.
| Is This Answer Correct ? | 1 Yes | 1 No |
Explain about transient variables in java?
What are different type of access modifiers?
Do I need to import java.lang package any time? Why?
Why pass by reference is not possible in java?
How to prevent to create multiple objects of a java class?
Can we have any other return type than void for main method?
What is a local class in java?
What is incompatible types in java?
Why map is used in java?
What is a memory leak in java?
Is void a wrapper class?
Why are there no global variables in java?