I have a problem with using the reverse method
any one give me an exmample or correct my error inside this code
but there is an error at the fifth line
I want to know how to uese the reverse method and print the reversed string
thank u
any one give me an exmample or correct my error inside this code
Code:
String p=""; for(int x=0 ; x<=3 ; x++) p+=x; System.out.print(p); String r=reverse(p); System.out.print(r);
I want to know how to uese the reverse method and print the reversed string
thank u
Comment