0

what is the meaning of "static"?

9th Jul 2016, 5:42 AM
vignesh
3 ответов
0
Static is a keyword it can be used to declare a member of a type. (specific to that type)
9th Jul 2016, 9:44 AM
Manu
0
Static fields/properties are shared between all instances of type (instances isn't required to use them). Static methods have access to static fields/properties and do not require any instance either.
9th Jul 2016, 9:11 PM
Ivan G
Ivan G - avatar
0
using static keyword we can declare static variables,class,constructor also. there is no need to instantiate the static class. we can call the static members /methods with class name itself. the static variables are shared among the objects with respect to their class so that if any changes are made by one object it reflects to another object also.
10th Jul 2016, 5:32 PM
shiva