# Static

Sınıf yapısını oluşturuyorken, bazı nesnelerin dışarıyla olan etkileşimini ayarlamak gerekebilir.

`Static` ile oluşturulan değişken ve fonksiyonlara sınıf dışından erişilemezler. Örnek;

```dart
class insan {
  static String isim;
  
  static fonksiyonum() {
    print(isim);
  }
}
```

Yukarıdaki **insan** sınıfında **static insan** değişkeni oluşturduk. Bu değişken sadece sınıf içerisindeki işlemlerde kullanılabilecek. Aynı şekilde `fonksiyonum` 'da.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dart.kaanksc.com/boeluem-3-nesne-tabanli-programlama/static.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
