+ 1

What does static in a method mean ??

4th Nov 2017, 3:19 PM
Ugur Kardas
3 Réponses
+ 14
static variables and methods belong to the class instead of a specific instance.
4th Nov 2017, 3:22 PM
qwerty
qwerty - avatar
+ 14
static methods can be accessed without creating an instance of it's class. You can call it by mentioning it's class name(ClassName.method())
4th Nov 2017, 3:24 PM
qwerty
qwerty - avatar
0
static mean that the method ist static
21st Nov 2017, 12:17 PM
Dominik Geschwinde
Dominik Geschwinde - avatar