Search:

Type: Posts; User: pbrockway2

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,403

    Re: Missing return statement

    Well done! Yes, you don't know there are no null values at all until after both loops have finished.
  2. Replies
    6
    Views
    1,403

    Re: Missing return statement

    Ask yourself at what point you know there are no null values anywhere. The method should return true at that point and not before.
Results 1 to 2 of 2