I heard Ben say this but not sure if he meant it for this example or all together. I was taught that public and private were necessary items and have used them in the past. Can someone elaborate?
Hi Andrew,
private
is the default access modifier. You don’t have to explicitely add it in front of your methods or fields to make them private. It’s optional.
Thank you for the reply. I’ll take note of that.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.