+ 1

What is static in jaya

13th May 2019, 11:08 AM
lakshya gurha
3 odpowiedzi
+ 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.
13th May 2019, 12:12 PM
MeanMachine
MeanMachine - avatar
+ 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.
13th May 2019, 11:14 AM
Sonic
Sonic - avatar
0
OK thanks
13th May 2019, 11:27 AM
lakshya gurha