Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Thread: Boolean problem

    by Norm
    Replies
    7
    Views
    1,183

    Re: Boolean problem

    All the steps I listed would use methods from the String class plus the concatenation operator: +
  2. Thread: Boolean problem

    by Norm
    Replies
    7
    Views
    1,183

    Re: Boolean problem

    That would take several steps:
    Split the String into two parts: first letter and the rest of the letters
    Uppercase first letter
    lowercase the rest
    concatenate the two Strings
  3. Thread: Boolean problem

    by Norm
    Replies
    7
    Views
    1,183

    Re: Boolean problem

    Try debugging the code by adding some println statements to print out the values of the variables that control when the boolean is set true so you can see what the computer sees when it executes...
  4. Thread: Boolean problem

    by Norm
    Replies
    7
    Views
    1,183

    Re: Boolean problem

    Please explain. A boolean variable can have two values: true and false. I don't know how it would show any output.

    Copy the full contents of the console window from when you execute the program...
Results 1 to 4 of 4