|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| Java Game Programming Part III: The Power of Arrays |
|
![]() lilspikey Member since: 3/28/2001 From: United Kingdom |
||||
|
|
||||
| Hi, just a minor correction: int number = 5; sample.addElement(number); won't work. It won't even compile. Vectors require Objects as paramaters. Seeing as an int is not an Object (it's a primitive), this won't work. thanks, John |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|