Results 1 to 2 of 2
Thread: Need Help with Vectors
- 04-12-2012, 11:30 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 1
- Rep Power
- 0
Need Help with Vectors
Alright so I'm still new to java and I'm having some problems with vectors. Basically I am making a game and I created a Vector to hold the moves made. I have 4 separate classes and put import java.util.Vector; in the class with my main method. But I declare the Vector in a separate class by doing Vector moves = new Vector(); When I try to compile I end up getting an error saying Cannot Find Symbol, Symbol: Class Vector. Something tells me I dont fully understand the concept of Vectors and im declaring it wrong. Any Suggestions?
Thx
Michael
- 04-13-2012, 12:07 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,545
- Rep Power
- 11
Similar Threads
-
EventListener for Vectors?
By Tomtefaen in forum New To JavaReplies: 4Last Post: 01-13-2011, 12:02 AM -
Trouble with Vectors
By zimbobigdog in forum New To JavaReplies: 4Last Post: 12-08-2010, 11:23 AM -
Need Help Regarding Vectors
By xHoly in forum New To JavaReplies: 6Last Post: 05-23-2010, 06:56 AM -
Vectors of Vectors or hash-somethings?
By mindwarp in forum New To JavaReplies: 3Last Post: 03-10-2008, 02:57 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks