Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Describe the ear, war, and jar.

926


What do you understand by j2ee?

946


What is home handle?

950


What is ejb module?

967


Describe secure socket layer (ssl)?

1010


What is archiving?

1076


What do you understand by connector?

930


What does java awt stand for?

990


What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?

991


What is component-managed sign-on ?

943


What is event and listener in java?

823


What are j2ee technologies?

937


Who gave the name java?

855


How many types of constructors are there in java?

849


Why is j2ee needed?

896