Program for array rotation Write a function rotate(ar[], d, n) that rotates arr[] of size n by d elements. JAVA:- class RotateArray { /*Function to... Avnish Yadav 13 Jun, 2018