+ 5
What is static keyword ?
static integer or static class
3 Réponses
+ 3
The static keyword in java is used for memory management mainly. We can apply java static keyword with variables, methods, blocks and nested class. The static keyword belongs to the class than instance of the class.
The static can be:
variable (also known as class variable)
method (also known as class method)
block
nested class.............
+ 8
static means that a variable, method, or class can be accessed without creating an object of the class it's in.
0
With static keyword a function, variable ... cannot be used by external files. Just the containing file and the one which they have been included to have right to use static data types.