What does a static variable do?

Static variables reduce the amount of memory used by a program . Static variables are shared among all instances of a class. Non static variables are specific to that instance of a class. Static variable is like a global variable and is available to all methods.

Sizin İçin Seçtik  How do you use third party API in Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *