Search:

Type: Posts; User: Cat

Search: Search took 0.23 seconds.

  1. Replies
    6
    Views
    766

    Re: Running out of ideas...

    I got into habit of adding System.out.println() to see how the codes behave and I think it's a great help. I didn't see the -1 as an issue then, which was essentially stopping the code from doing its...
  2. Replies
    6
    Views
    766

    Re: Running out of ideas...

    Hi,

    After a nearly full night's sleep I started from scratch and still keep swearing at myself for being complete and utter idiot for not solving the puzzle quicker.
    My code is using a while loop...
  3. Replies
    6
    Views
    766

    Re: Running out of ideas...

    Right...

    public static String replaceBuggers(String sourceOne, String oldOne, String newOne)
    {
    StringBuilder searchMe = new StringBuilder(sourceOne);
    int foundStart = 0;
    int...
  4. Replies
    6
    Views
    766

    Running out of ideas...

    Hi!

    I started learning Java with The OU and really enjoying it but the assessments are driving me absolutely mad. I'm not considering myself an idiot but some of my brain cells are obviously not...
Results 1 to 4 of 4