Search:

Type: Posts; User: Junky

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    819

    Re: Few errors. Returning.

    If you want a method to return a value sometimes and not return a value sometimes then there is a possibility that you have a design flaw. On the other hand this might make sense. Take a look at the...
  2. Replies
    5
    Views
    819

    Re: Few errors. Returning.

    Congratulations, you know how to use bold. But it does not answer my question. The code you bolded is what is returned when shapeNum EQUALS 2. I asked what will your code return when shapeNum DOES...
  3. Replies
    5
    Views
    819

    Re: Few errors. Returning.

    What will your areaCircle method return if shapeNum != 2?
Results 1 to 3 of 3