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 a percentage sign called?
Is there is any difference between a scrollbar and a scrollpane?
How can constructor chaining be done by using the super keyword?
What is treemap in java?
Is boolean a data type in java?
How do you declare a destructor in java?
Can you call a method in a method?
How do you initialize an arraylist in java?
What is sorting algorithm in java?
What is final modifier?
What is boolean example?
What is a programming object?
What are the ways in which a thread can enter the waiting state?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What are exceptions