Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    3,276

    Re: Time String to int seconds

    I think your requirements are only a little bit more complicated than my example.

    My doThing1() method, for you, should take no parameters, but prompt a user for input and return a String such as...
  2. Replies
    9
    Views
    3,276

    Re: Time String to int seconds

    I don't know, say you have these two methods:


    public void doThing1(){
    //thing 1
    }

    public void doThing2(){
    //thing 2
    }
  3. Replies
    9
    Views
    3,276

    Re: Time String to int seconds

    If you want a single method, can't you just call the other two methods from that single method?
  4. Replies
    9
    Views
    3,276

    Re: Time String to int seconds

    I'm really not sure what this method is supposed to be doing. Why are you getting user input in the middle of converting hard-coded input?

    You're were closer when you had things split up into...
Results 1 to 4 of 4