Accenture Interview Question

write program to reverse a string

Interview Answer

Anonymous

Aug 16, 2024

class reverseastring { public static void main(String[] args) { String name = "kalyan"; String rev=""; char ch; for(int i = 0;i