Java Integer remainderUnsigned() method

tutorial and example
tutorial and example

The remainderUnsigned() method of Java Integer class returns the unsigned remainder by dividing the first and second argument.

Syntax

public static int remainderUnsigned(int dividend, int divisor)

 Parameters

The ‘dividend’ and ‘divisor’ represents the value to be divided and the value doing the dividing.

 Return Value

This method returns an unsigned remainder by dividing the dividend with divisor.

Example 1

Output

Example 2

Output

Example 3

Output