The Artima Developer Community
Sponsored Link

Java Answers Forum
Some help with my task.

1 reply on 1 page. Most recent reply: Jun 17, 2008 4:24 AM by Matthias Neumair

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
Shahin haishd

Posts: 1
Nickname: xanenax
Registered: May, 2008

Some help with my task. Posted: May 27, 2008 6:56 AM
Reply to this message Reply
Advertisement
Well...
A window has to apper and ask to put in a nummber and another one to put another nummber. then in an other class i need to take the two of them and count them and then take the highest nummber and from one cout it (if 5 is the highest, 1+2+3+4+5)then print it out.

My problem is that I somehow cant make it count in one class en then print it out in a other one. can i get some help please?


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Some help with my task. Posted: Jun 17, 2008 4:24 AM
Reply to this message Reply
Your first class needs of course a method which provides a list with all typed numbers. The second class then calls this method.

Flat View: This topic has 1 reply on 1 page
Topic: Conversion from String to Date?? Previous Topic   Next Topic Topic: Could not create the Java virtual Machine ?

Sponsored Links



Google
  Web Artima.com   

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