Visibility and Accessibility Modifiers

Exercise: Use the static modifier

Goal

Modify the example class

  1. Modify the 'NewLine' property to make it static.
  2. Add a new static method to the class called Version, of type 'int' which returns the number 4.
Page 11 of 18