+ 1
What is static in jaya
3 ответов
+ 12
static: The 'static' keyword is used to declare a variable that is associated with the class, not with individual instances of that class.
Static variables are used to store "global" information about a class.
Static variables exist even if no instance of their class is created.
+ 5
A static member belongs to a class and not to its individual objects. There is only one copy of static members no matter how many instances of the class are created.
0
OK thanks