Write a program to display numeric value in reverse order.
Ex: I have given a number like 7584, It should display in
reverse order like 4857.
Answer Posted / deepak
public class A
{
public static void main(String str[])
{
String s="7584";
System.out.println(s);
s.reverse();
System.out.println(s);
}}
Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What is setfocusable in java?
What is containers in java?
What is application configuration resource file?
What is conversational state?
What is ebxml?
What is assembly in java?
What is platform independent in java?
What are the components of the java platform?
How do I become a java developer?
What is java application server?
What is jta and jts?
What are the components of j2ee?
What is a web container j2ee?
What is home handle?
What is a thin client?