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


Please Help Members By Posting Answers For Below Questions

What is Java Annotations?

557


How strings are created in java?

569


What is a function in java?

570


What do you mean by collectors in java 8?

542


How to set the permissions to a file in java?

542






What is the difference between multitasking and multithreading in Java

724


What if constructor is protected in java?

562


Is an empty arraylist null?

598


What is a parameter in java?

548


What does the “final” keyword mean in front of a variable? A method? A class?

546


What do you mean by platform independence of Java?

538


What is the difference between && and & in java?

573


How do you sort in descending order in java using collections sort?

498


How do you use substring in java?

548


What is java english?

496