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

How do you escape in java?

1132


Can we have a method name same as class name in java?

1096


Why do we create public static method in java?

1158


When do we use hashset over treeset?

1098


What are the types of arrays in java?

1133


What is an object's lock and which object's have locks in java programming?

1103


What is the range of the short type?

1063


What is consumer interface?

1065


Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

1890


Describe method overriding

1176


Can you add null to a list java?

1103


Can we create a class inside a class in java?

1145


Mention some interfaces implemented by linked list in java.

1076


Difference between static and dynamic class loading.

1181


What are predefined functions?

1199