Java-Modulus Operator

Modulus Operator¬† The modulus operator %, returns the remainder of a division operation. If can be applied to floating-point types as well as integer types. Program Program Source class Javaapp { public static void main(String[] args) { int a = 55; System.out.println(“a mod 10 = “+a%10); } }