Search:

Type: Posts; User: Json

Search: Search took 0.09 seconds.

  1. Re: Simple Program Error

    Yes, try to not use statics if you dont really need them. Once a static is created it will be created forever, hence taking up memory.

    Good use of statics are constants of various things and also...
  2. Re: Simple Program Error

    Yes you are correct, static means its a class member rather than an instance member.

    You should beware that setting static variables from non static methods is not encouraged.

    // Json
  3. Re: Simple Program Error

    Hello, I take it you are seeing the same output for each sysout in your first code there. This is because the variables planetWeight and convertedWeight in the WeightConverterVer2_UNFINISHED class...
Results 1 to 3 of 3