Jump to content

jPak

Member
  • Posts

    18
  • Joined

  • Last visited

Reputation Activity

  1. Like
    jPak got a reaction from JacksGT in Compilation Time Question   
    Regarding this comic
     
    Given that I've only had academic programming experience, all my programs were relatively small and compiled in seconds. I'm wondering just what circumstances to require enough time for the developers to carry out a sword fight. The reason I ask is I just graduated university and I generally recompiled and tested after every new line in an effort to keep track of progress. If compilation time becomes an issue, then perhaps my methodologies must adapt.
     
    Bonus question: explain some of your larger projects or any projects you're particularly proud of developing!
     
    The bigger projects I worked on include a BitTorrent client and a Photo Library application which introduced us to MVC. The latter was eventually ported to Android -- which ended up being a disaster.
  2. Like
    jPak got a reaction from Sharif11 in Need some help with java   
    So, I've taken only a cursory look at the code and here's what I think might help:
     
    You've declared getSaleOutcome inside of your makeOffer method -- this doesn't really work as you intended. Rather, declare getSaleOutcome elsewhere (somewhere inside of your PropertySale class but outside of any other method) and then call the method inside of your makeOffer method. Something like this:

    public class PropertySale{
       ...
       some variables and methods
       ...
       getSaleOutcome(){
          print stuff here
       }
       ... more methods and stuff ...
       makeOffer(){
          ...your make offer definition is here...
          at the end of your method, you call getSaleOutcome()
       }
    }
     
    I really hope this helps and I wish you the best of luck; not everyone has the drive to learn to code on his own.
×