can you program for reverse string?

Answer Posted / caughtme

say string s1="1234567";
for(int i=s1.length()-1;i<=0;i--)
{
System.out.Println(CharAt[i].toString());
}

Is This Answer Correct ?    0 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java util collection?

561


What is the purpose of java?

558


which pattern is default in scanner package?

1804


What is a default constructor and also define copy contrucyor?

604


How do you remove an element from an arraylist in java?

464






What is the parse method in java?

573


What is the purpose of using the java bean?

574


What is a substring of a string?

567


What is called module?

573


What is an object in java?

561


What is a control variable example?

534


How does predicate work in java?

544


How to check if a list is sorted in java?

590


Is string a class?

559


Explain the differences between static and dynamic variables?

590