Answer Posted / raj
public static void main (String args[])
{ String s1="1234567";
for(int i=s1.length()-1;i>=0;i--)
{
System.out.print(s1.charAt(i));
}
}
Is This Answer Correct ? | 25 Yes | 0 No |
Post New Answer View All Answers
How to obtain a performance profile of java program
Is an array a vector?
What data type is a string?
How many types of methods are there?
Can a java program have 2 main methods?
How to change value in arraylist java?
Explain the difference between abstract classes and interfaces in java?
what do you mean by stream pipelining in java 8? Explain
Why is singleton class used?
Describe the term diamond problem.
What is difference between Heap and Stack Memory?
What is the use of using enum to declare a constant?
What is t in generics in java?
What is the main functionality of the remote reference layer?
Can we clone singleton class in java?