its me again... Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: its me again... Help

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center