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

Are constructors methods?

666


What is default locale java?

657


Is java se open source?

662


What are streams in java 8?

644


How do you sort arrays in java?

609






Will minecraft java be discontinued?

781


What is the purpose of checked and unchecked exceptions in JAVA?

650


What is a void in java?

667


How do you input a string in java?

611


What is the base class of all exception classes?

675


What is operator overloading. Is it is supported in java?

602


Can you instantiate the math class?

712


What is lambda in java?

613


What is the new line character?

677


Tell me a few examples of final classes defined in Java API?

649