Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Maria Silva   on Oct 08 In Java Category.

  
Question Answered By: Devlan Jones   on Oct 08

Use the parseInt() method in the Integer object:

String s = "27";
int x = Integer.parseInt(s);

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 


Tagged: