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. This Tutorial website is very usefull in my java p
View Tutorial          By: V.GeorgeFernandas at 2012-11-26 13:20:59

2. thanks for our help. god bless u and again thanks.
View Tutorial          By: mehryab at 2011-05-08 14:44:21

3. an excellentttttttt siteee
View Tutorial          By: raza at 2011-04-02 10:39:46

4. My teacher doesnt teach me right!
View Tutorial          By: Anon at 2009-02-20 07:16:08

5. I am java developer and interested to write scjp e
View Tutorial          By: Parvathi at 2013-07-05 14:24:08

6. Also note that for reverse ordering, If you have a
View Tutorial          By: Dwight at 2011-07-13 22:13:45

7. This came out of a book
View Tutorial          By: Kyle Bradley at 2010-04-12 19:48:12

8. Please resolve this problems :

ja

View Tutorial          By: madhusudhakar at 2014-10-24 06:11:10

9. this article is very good for the beginners. I am
View Tutorial          By: manoj kumar palbabu at 2009-12-02 10:44:04

10. well written hog .good going
View Tutorial          By: Rajesh at 2010-08-17 03:38:05