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 String into primitive datatype.

Answer Posted / niranjan sahoo

by using parsing methods of the respective primitive type like if we want to convert into int then use parseint() , if float then use parsefloat()...

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by classloader?

1022


How can I debug the Java security exceptions and AccessControlExceptions?

1091


Explain about join() method?

902


Can a method be static?

915


What will happen when using pass by reference in java?

929


Difference between ‘is-a’ and ‘has-a’ relationship in java?

944


What is string array?

1014


Explain constructors and types of constructors in java.

1038


How to sort a collection of custom Objects in Java?

995


What are the differences between include directive and include action?

1081


What is java used for?

971


What does 3 dots mean in java?

922


What is the difference between assignment and initialization?

994


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

913


Name some OOPS Concepts in Java?

1019