Current Forum: Homework 3 Forum |
Date: Sat Sep 29 2001 3:39 pm |
Author: Vangaalen, Alexander <av@andrew.cmu.edu> |
Subject: Convert Object to Int |
|
|
How do I convert an object stored in my Vector of line numbers back into an int so I can then compare them and find the correct line number answer. This is what I have been trying: 1. (int) VectorName.elementAt(i); 2. VectorName.elementAt(i).intValue();
Any help is appreciated. thanks alex |
|