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...

How to convert a string to long?

Answer Posted / ravikiran(aptech mumbai)

Long l=Long.parseLong(String s);
long l1=l.longValue();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a percentage sign called?

1113


Why does java have two ways to create child threads?

943


Can finally block be used without a catch?

1002


What is r in java?

1045


What function extracts specified characters from a string?

993


What is the difference between the ">>" and " >>>" operators in java?

979


What is the use of toarray () in java?

1059


What is method overloading in JAVA? Why is it not present in C ?

1094


What is string syntax?

1045


Is java platform independent?

966


Explain the access modifiers for a class, method and variables?

1134


Is nullpointerexception checked or unchecked?

1028


Write a function to print Fibonacci series and Tribonacci series?

1176


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

980


What are the important features of Java 8 release?

1077