Controlling Visibility Within the Same File Using 'pub'

The pub keyword makes the item public and visible outside its scope.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy