User Profile

Collapse

Profile Sidebar

Collapse
ITHELP85
ITHELP85
Last Activity: Oct 6 '09, 08:11 PM
Joined: Nov 9 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ITHELP85
    replied to Help with method that returns an ArrayList
    in Java
    I see............ ......Thanks!!!
    I
    See more | Go to post

    Leave a comment:


  • ITHELP85
    replied to Help with method that returns an ArrayList
    in Java
    Code:
     public static void main (String[] args) //main method
    { 
      
    **How can I turn the scoresList which is returned from the AddScores method. into an Array here(in Main Method)* 
    
    double[] scores = new double[AddScores().size()];
    
    AddScores().toArray(scoresList); //This line gives me an error
      
    } 
      
      public static ArrayList AddScores() 
      { 
    ArrayList<Double>
    ...
    See more | Go to post

    Leave a comment:


  • ITHELP85
    replied to Help with method that returns an ArrayList
    in Java
    I know how to use the toArray method from the Arraylist, but I don't understand how to do it in the main method from the returned variable scoresList in the AddScores() method.
    See more | Go to post

    Leave a comment:


  • ITHELP85
    started a topic Help with method that returns an ArrayList
    in Java

    Help with method that returns an ArrayList

    I have a method that returns an ArrayList and in the Main method i want to convert that list to an array.


    Code:
    public static void main (String[] args)
    {
    
    **How can I turn the scoresList which is returned from the AddScores method. into an Array?**
    
    }
    
      public static ArrayList AddScores()
      {
    ArrayList<Double> scoresList = new ArrayList<Double>();
    scoresList.add(32.3);
    ...
    See more | Go to post
    Last edited by Frinavale; Oct 6 '09, 02:07 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • ITHELP85
    started a topic What do I need for this Website
    in IIS

    What do I need for this Website

    Hi,
    I am making a plan to make an website that will have an radio fucntion that will play whatever I would like and the radio would have different channels. Also there will be an Forums section and an article section. The article section woulbe be articles that I wrote.

    I would like some advice on what technology should I used to acheieve my results. Also what type of web hosting would I need? From the above specs would I need...
    See more | Go to post

  • Help Automatically Populating Fields base on PK

    using SQL Server 2005

    I have a table SALES_ITEM, users should be able to input the Primary Keys (ItemNumberSK and InvoiceNumber), and Qty. I want the ItemName and UnitPrice fields to update automatically from the WAREHOUSE table.
    I wrote a trigger already but something is wrong with it as I get this error (My code is listed under the error):

    ---------------------------
    Microsoft SQL Server Management Studio...
    See more | Go to post

  • ITHELP85
    started a topic Whats wrong with my SQL code? HELP Please!!!

    Whats wrong with my SQL code? HELP Please!!!

    Hello
    I am trying to get a table attribute to calculate the result of 2 attribute in another table. I am using SQL Server 2005. I got another table to do this and it works fine, but the only difference is is that the attributes are in the same table. My code is posted below but it does not Work. I get the message:

    -------------------------------------------------------------------------
    The multi-part identifier "ITEM_PURCHASE. LocalCurrencyAm t"...
    See more | Go to post

  • Table Automatically Populating with Data from another table

    So I am working on this project, where I have an ITEM_PURCHASE table and an WAREHOUSE table I want users to be able to input data into the ITEM_PURCHASE table thru a form and the WAREHOUSE table will automatically populate from certain fields in ITEM_PURCHASE. In this scenario should I use a trigger or stored procedure? Can someone provide the SQL code to get me started? Can someone help me out here, it will be greatly appreciated.

    ...
    See more | Go to post
No activity results to display
Show More
Working...