explain static key word
Answers
Answered by
0
static keyword is mainly used for memory management. It can be used with variables, methods, blocks and nested classes. It is a keyword which is used to share the same variable or method of a given class. Basically, static is used for a constant variable or a method that is same for every instance of a class.
Answered by
0
Answer:
Static keyword is used mainly for memory management. It is used with variables, methods, blocks and nested classes . It is a keyboard that is used to share the same variable or method of the given class. This is used for a constant variable or a method that is thesame for every instance of a class.
Similar questions