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 are inbuilt functions in java?
What is the difference between an array and an array list?
Can a serialized object be transferred via network?
What is class forname used for?
What is t type java?
How do you calculate roots in java?
What is class and object in java?
What is difference between hashset and hashmap?
What is difference between public static and void?
Define jre i.e. Java runtime environment?
What does 3 dots mean in java?
Is java call by value?
How does predicate work in java?
What is the old name of java?
What is the purpose of garbage collection in java? When is it used?