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 is enhanced loop in java?

555


What do you understand by casting in java language?

584


How do constructors use this() and super()?

553


Explain access specifiers?

663


Is string an object?

663






Give me an example of array and linked list? Where they can be used?

561


How do you avoid global variables?

545


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

842


What methods are used in Servlet?Applet communication?

1673


What is the basic of java?

575


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

859


What is a layout manager and what are different types of layout managers available in java awt?

731


Write a program to show whether a graph is a tree or not using adjacency matrix.

602


Are generics important java?

532


What is the use of protected in java?

540