This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I have a program that was working but isn't doing so now...

 
Luke Forga
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
would someone be so kind as to take a look at it and tell me what I have done to it. The code, shown below, are two classes.

------------------------------------------------------------------

--------------------------------------------------------------------
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
--------------------------------------------------------------------

----------------------------------------------------------------------
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you please could explain what's not working?
Doesn't compile, throw exception, wrong result, no result, ...?
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. We need some more information. What exactly isn't working? Does the above code compile? If not, what errors do you get? If it compiles, what happens when it runs and how does it differ from what you expect? Is there a run-time error (i.e. an exception)? If so what message does it give?

Without this additional information, we can only guess at the intent of this code. Please provide more details so that we can answer your question. You should also take a look at some suggestions we have about How To Ask a Question at Java Ranch.

Once you fill in these details, we will be more than happy to help.

Keep Coding!

Layne
 
Luke Forga
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Understandable. Sorry about any confusion; however, I corrected the problem(s) and it is now working. Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic