This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Please Explain? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Please Explain?" Watch "Please Explain?" New topic
Author

Please Explain?

Rik Ny
Greenhorn

Joined: Oct 13, 2001
Posts: 13
D:\My Java\GenerateRandomInt.java:41: cannot resolve symbol
symbol : method intValue (int)
location: class java.lang.Integer
System.out.println(firstNumber.intValue(counter));
^
1 error
Tool completed with exit code 1
What the ......???
Cheers, Rik
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
The method intValue does not take parameters. Check out the Java API for more information.


Matthew Phillips
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Please Explain?
 
Similar Threads
Pass by ref- pgm err
Testing Strings
integer to string
ClassPath Problem
Help me with BubbleSort