Back to Developer Roadmap

private / protected

src/data/roadmaps/scala/content/private--protected@mHdNAYbL4yCZZYv0Z_s1w.md

4.0713 B
Original Source

private / protected

The private and protected keywords are used to control the visibility of members (variables and methods) in classes, objects, or packages. If no access modifier is specified, the default access level is public.

Visit the following resources to learn more: