|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
Java troubles...
ok using Java 1.4.2
i'm trying to call a class out of an ArrayList, and then implement one of those classes methods inside of a 'for' loop. I'm trying to cast my ArrayList.get(x) to the class that I need so that the method can be called. I'm just going to post the code b/c it's too hard for me to explain. I've changed some things since I've begun writing this thread, and now i'm getting these "not a statement errors" |
|
|
|
|
|
#2 |
|
Member (7 bit)
|
you may want to post the code straight into the post, because notepad isn't exactly the friendliest program when it comes to posting this kind of us. When I try to view that it just all comes out on one line.
|
|
|
|
|
|
#3 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
I'm not exactly sure what to look for here. You didn't really explain the error you are having or where you are getting it. The only thing I noticed at first glance is your last for loop does not initialize y.
Please post more information on what you want us to look for. |
|
|
|
|
|
#4 |
|
Member (7 bit)
|
hey guys, sorry- i figured it out, but thanks anyways
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|