DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Posts
    21

    Question its me again... Help

    l

  2. #2
    Join Date
    Jan 2004
    Posts
    20
    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

  3. #3
    Join Date
    Oct 2003
    Posts
    21
    hey dave i sent you a pm!! i do need help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links