How is rounding performed under integer division?

Answer Posted / divya

the fractional part of the result is truncated .this is
known as rounding toward zero.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if we override only equals?

593


Can final class have constructor?

513


Is empty .java file name a valid source file name?

601


What is the format specifier?

530


Is string a class?

567






What is an immutable object? How do you create one in java?

616


Can a class extends itself in java?

543


What is use of super keyword in java?

614


What do negative exponents mean?

560


What is a method in programming?

653


Will the jvm load the package twice at runtime?

587


Will set allow duplicates in java?

517


Why vector class is used?

550


What are the disadvantages of using inner classes?

569


Can a function return a function?

575