Comment on Tutorial - valueOf() in Java By Emiley J



Comment Added by : Xris

Comment Added at : 2011-11-08 06:01:01

Comment on Tutorial : valueOf() in Java By Emiley J
I have this line of code but i don't understand what is meant to do:
String line = "Some data";
int size = -1;
size = Integer.valueOf(line, 16).intValue();

Would you please explain to me what it does in relation to what you said above? Thanx


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. basic example on serialization... its good and cle
View Tutorial          By: Rag at 2012-01-08 02:53:41

2. as in property we set the value and then retrieve
View Tutorial          By: Deep at 2011-03-18 21:00:54

3. does not work.

output:
./num

View Tutorial          By: praveen at 2012-08-30 19:04:20

4. how run struts in eclipse can explain with an exam
View Tutorial          By: Grace at 2015-08-14 02:41:28

5. HOW TO SET PASSWORD IN JAVA.....
View Tutorial          By: NAKUL at 2012-12-14 05:23:16

6. really very good example .now i have cleared what
View Tutorial          By: pushpendra bansal gurjar at 2012-02-15 12:19:58

7. Thanks for the solution. I must say however that t
View Tutorial          By: Pierre at 2009-11-19 20:16:35

8. hi every body i want full java code to send messag
View Tutorial          By: Ashray P Shetty at 2010-11-09 04:33:45

9. this is good arraylist
View Tutorial          By: shaffy at 2010-07-31 04:25:17

10. HI All,

I am using this code but fo

View Tutorial          By: muna at 2015-07-04 12:28:15