Search:

Type: Posts; User: CommisarDave

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,815

    Re: Boolean Input Question.

    Hi,

    Thanks I will try the scanner class.

    David
  2. Replies
    6
    Views
    1,815

    Re: Boolean Input Question.

    Hi,

    As I said the program dosen't allow me to enter a thing it just stops there and the error message comes up. I'm sorry I don't know what the method's doc is.

    Thanks David
  3. Replies
    6
    Views
    1,815

    Re: Boolean Input Question.

    Hi,

    The error message is:

    Exception in thread "main" java.lang.IllegalArgumentException:

    Illegal boolean input value.
    Expecting one of: true, false, t, f, yes, no, y, n, 0, or 1
    at...
  4. Replies
    6
    Views
    1,815

    Boolean Input Question.

    Hi, This is a really simple question but I've been stuck on this for a while now. Does this line of code read a boolean input from the console?

    userInput = TextIO.getlnBoolean();

    I have looked...
  5. Replies
    3
    Views
    1,323

    Re: Text Input into seperate arrays help

    thanks I'll check that out. I had searched my textbook I'm using and couldn't find anything but yeah thanks for the links.
  6. Replies
    3
    Views
    1,323

    Text Input into seperate arrays help

    Hi

    For a program I'm required to write for uni I need to take an input and split it into seperate arrays. The input is to be like this:

    Word
    Description

    Word
    Description
Results 1 to 6 of 6