Skip to main content
Code Review

Return to Question

replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

After changing all variables in this code this code from public to private and adding get/set according to the need to get modified and/or read in another class, I'd like to know if this was done correctly.

After changing all variables in this code from public to private and adding get/set according to the need to get modified and/or read in another class, I'd like to know if this was done correctly.

After changing all variables in this code from public to private and adding get/set according to the need to get modified and/or read in another class, I'd like to know if this was done correctly.

Tweeted twitter.com/#!/StackCodeReview/status/464472445874094080
edited title
Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Encapsulation, Fieldsfields and Propertiesproperties for Asteroid class

attempt at a better title - feel free to improve...
Link
Mathieu Guindon
  • 75.5k
  • 18
  • 194
  • 467

Is this class correctly set up? - regarding private/public & get/set Encapsulation, Fields and Properties

edited tags
Link
Mathieu Guindon
  • 75.5k
  • 18
  • 194
  • 467
Loading
edited tags
Link
200_success
  • 145.6k
  • 22
  • 190
  • 479
Loading
added 79 characters in body
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238
Loading
Source Link
Loading
lang-cs

AltStyle によって変換されたページ (->オリジナル) /