Search:

Type: Posts; User: Json

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    2,840

    Re: making my code a little better, if needed.

    Its not good practise to have a constructor which is public and used only for testing since that constructor will be available to anyone later on. When doing testing you want to make sure you can...
  2. Replies
    4
    Views
    2,840

    Re: making my code a little better, if needed.

    I'm not entirely sure I understand the logic here, you're passing in 12 into the mainMethod call as well as the constructor, why?

    What is the mainMethod eventually supposed to do?

    // Json
Results 1 to 2 of 2