Search:

Type: Posts; User: American

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    1,341

    Re: checking for empty strings?

    This is a better code than mine. But mine would work too. Thanks for showing an aliter.
  2. Replies
    3
    Views
    1,341

    Re: checking for empty strings?

    You need to use try, catch blocks for this.

    public static void main(String[] args) throws InputMismatchException
    { boolean flag = true;
    int i;
    Scanner j = new...
Results 1 to 2 of 2