posted 21 years ago
I have an Object which consists of a Date and a Vector. I'm glad this is a Beginner Forum because I'm sure what I'm missing is simple. Here is some code:
newObject (Date myDate, Vector my Vector);
public void createNewObject(Vector inVector){
Date newDate = new Date();
newObject myObject = new newObject(newDate, inVector);
The message I get is that the compiler cannot resolve the symbol "new" in the creation of newObject. Suggestions?