Printing reverse of any String without using any predefined function?

This is the simplest solution:

System.out.print("egaugnal detatneiro tcejbo si avaj");

Leave a Comment