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
Are global variables initialized to zero?
Write a factorial program using recursion in java?
Can we convert list to set in java?
Is java map thread safe?
How we can declare a static variable?
What is finalize()?
List the interfaces which extends collection interface?
What is main in java?
What is use of super keyword in java?
What is an interface in java?
Why do we need variables?
List any five features of java?
What is boolean strategy?
What is an interoperable application in java ?
What is a final class ?