reverse a number

/* package codechef; // don’t place package name! */

import java.util.;
import java.lang.

/* Name of the class has to be “Main” only if the class is public. */
class Main
public static void main (String[] args)
{ Scanner obj=new Scanner(;
int n=obj.nextInt();
for(int i=0;i<n;i++){
int n1=obj.nextInt();
String change =Integer.toString(n1);
int len=change.length();
for(int j=len;j>0;j–){