Current Forum: Homework 2 Forum |
Date: Sun Sep 23 2001 2:47 pm |
Author: Lee, Charles C. <chucklee@cmu.edu> |
Subject: Re: Need help with an error msg. |
|
|
1. You can make a new variable, then put it in as your argument For example:
Room blah= new Room (row, col, id); roomList.add(blah); or 2. roomList.add(new Room(row,col,id));
|
|