面向对象
- markdown事例
public static void main(String[] args)
{
int n= 1234;
int x=n/1000;
int y=n/100%10;
int z=n/10%10;
int m=n%10;
System.out.println(m*1000+z*100+y*10+x);
}
public static void main(String[] args)
{
int n= 1234;
int x=n/1000;
int y=n/100%10;
int z=n/10%10;
int m=n%10;
System.out.println(m*1000+z*100+y*10+x);
}