How is rounding performed under integer division?
Answer Posted / 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 |
Post New Answer View All Answers
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is the mapping mechanism used by java to identify IDL language?
What is the purpose of the runtime class in java programming?
How do you compare characters in java?
What is difference between an object and a class?
What are the characteristics of Final,Finally and Finalize keywords.
What is a class instance variable?
Explain when noclassdeffounderror will be raised ?
What are drawbacks of singleton class?
In which order the iterator iterates over collection?
What does math floor () do?
Can memory leak in java?
What java ide should I use?
Explain the difference between call by refrence and call by value?
What is void class in java?