l
Printable View
l
Hello there,
Quick brain dump for you, no real code, it's quicker!
In the main method of the driver class, you can do something like this......
=============================
int num = user inputs random number
Object [] objArr = new Object[num]
assignWeather(objArr)
for(each object in objArr)
{
println(objArr[i].getName())
}
=============================
In the assignWeather(objArr) method you will only need to populate the objArr with random storms, the number of which comes from the length of the objArr.
Let me know if you need any help coding something specific.
Cheers, DJDaveMark
hey dave i sent you a pm!! i do need help:D