Results 1 to 2 of 2
  1. #1
    syedejaz is offline Member
    Join Date
    Oct 2012
    Posts
    5
    Rep Power
    0

    Default Help me in LinkedList function

    Dear all I am new to Java.

    Kindly tell me how could I use LinkedList function instead of the method used in the code below:

    PHP Code:
    import java.util.*;
    
    public class DataSetTester {   
       public static void main(String[] args)   
       {   
           DataSet a = new DataSet();   
           Scanner input=new Scanner(System.in);
           System.out.println("enter the total number of items");
           int m =input.nextInt();
                  for(int i =1; i <=m; i++)
                	     	         {
               System.out.println("enter the "+i+"  number");
               a.add(input.nextInt());   
           }
        
         
          System.out.println("count: " + a.getCount());   
    
          System.out.println("Mean: " + a.getMean());   
    
          System.out.println("standard deviation: " + a.getStandardDeviation());   
           
       }   
    }

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: Help me in LinkedList function

    You mean instead of the DataSet? What is the DataSet class?

Similar Threads

  1. Recursive function to iteractive function
    By mikeZet in forum New To Java
    Replies: 0
    Last Post: 03-13-2012, 01:42 AM
  2. Need help with LinkedList.
    By fsuarjun03 in forum New To Java
    Replies: 0
    Last Post: 04-18-2011, 07:27 PM
  3. Calling function in Javascript- from other function
    By jdigger in forum New To Java
    Replies: 1
    Last Post: 02-27-2011, 09:00 PM
  4. Replies: 3
    Last Post: 12-04-2009, 03:08 PM
  5. LinkedList
    By [RaIdEn] in forum New To Java
    Replies: 7
    Last Post: 10-13-2009, 12:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •