-
its me again... Help
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks