The Artima Developer Community
Sponsored Link

Java Answers Forum
beginner in Java

1 reply on 1 page. Most recent reply: Nov 7, 2008 5:47 AM by Vincent O'Sullivan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Brent Biggs

Posts: 2
Nickname: truck
Registered: Nov, 2008

beginner in Java Posted: Nov 5, 2008 7:55 PM
Reply to this message Reply
Advertisement
i need to define a class DataSet that computes the sum and average of intergers. i also need to supply methods: void addValue(int x), int geySum(), and double getAverage().

i also need a test that calls addValue four times and prints actual results.


Vincent O'Sullivan

Posts: 724
Nickname: vincent
Registered: Nov, 2002

Re: beginner in Java Posted: Nov 7, 2008 5:47 AM
Reply to this message Reply
You've posted statements. Do you have a question that you want answering?

Flat View: This topic has 1 reply on 1 page
Topic: another beginners question in java Previous Topic   Next Topic Topic: check this out....what is the output

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use