Answer Posted / venki from hyd
class ReverseString
{
static String name="Hello";
public static void main(String args[])
{
String rname;
for(int i=name.length(); i<0; i--)
{
rname=name.charAt(i);
}
System.out.println(rname);
}
}
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is public static?
Explain about the interpreter in java?
What are different types of classloaders?
What is the basic of java?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
Define jit compiler?
What is the difference between equals() and == in java?
State two differences between C and Java.
What is java string pool?
What is the program compilation process?
what are three ways in which a thread can enter the waiting state? : Java thread
what is nested class in java?
How to compare strings in java?
How to disable caching on back button of the browser?
Can we store variables in local blocks?