Posts

Mnc

How to reverse a string :- 1)   String[] u = "hii let's make money".split(" "); String c = ""; for(int ty = u.length-1;ty>=0;ty--) { c += u[ty] +" "; } System.out.println("let's start reversing"); System.out.println(c.substring(0,c.length()-1));