# Access qualifiers

In Snowball, access qualifiers determine the visibility and accessibility of class members (variables and methods) from outside the class. Snowball provides 2 access qualifiers: `public` and `private`.&#x20;

These qualifiers allow you to control the level of encapsulation and restrict or expose class members as needed. Here's an explanation of each access qualifier:

```swift
class Foo {
    let a: String = "hello"; // private scope
  public:
    let b: i32 = 0; // public scope
  private:
    let c: f32 = 1.2; // private scope, again
}
```

{% content-ref url="../access-qualifiers" %}
[access-qualifiers](https://snowball-lang.gitbook.io/docs/language-reference/access-qualifiers)
{% endcontent-ref %}
