Visibility and Accessibility Modifiers
Exercise: Use the static modifier
Goal
Modify the example class
- Modify the 'NewLine' property to make it static.
- Add a new static method to the class called Version, of type 'int' which returns the number 4.
Page 11 of 18