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. thanks you're such an angel :) thanks for solving
View Tutorial          By: Tanzeela Ali at 2013-04-01 07:42:08

2. i want to make java editore in my major project.i
View Tutorial          By: pawan patel at 2012-04-14 11:15:19

3. THANK YOU.. YO SO HELP ME :D
View Tutorial          By: xgamer at 2015-08-06 06:45:52

4. The code is running successfully.........but , I m
View Tutorial          By: Harshita at 2013-03-26 19:25:58

5. Can anybody send the full working code for sending
View Tutorial          By: Atul at 2008-11-26 04:47:51

6. does not work.

output:
./num

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

7. a very rare but useful tutorial. Thanks a bunch!
View Tutorial          By: Dalitso at 2014-02-19 12:07:34

8. this is really cool......
View Tutorial          By: solex at 2009-05-16 04:02:35

9. This Example program is very useful.
good w

View Tutorial          By: sathya at 2008-03-28 02:21:41

10. Can you please send me the full code in sending an
View Tutorial          By: jen at 2008-05-28 00:22:21